JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
update wfpl and templates
[contractor-progress.git] / tasks.php
index 423268a..ecbf757 100644 (file)
--- a/tasks.php
+++ b/tasks.php
@@ -68,8 +68,6 @@ function tasks_main() {
                }
                tem_show('edit_body');
        }
-
-       tem_show('main_body');
 }
 
 function tasks_display_main() {
@@ -525,7 +523,7 @@ function tasks_edit_main() {
        } else {
                tem_show('new_msg');
                if(logged_in_as_contractor()) {
-                       pulldown('client_id', db_get_rows('people', 'id,name', 'where id > 1'), PULLDOWN_2D);
+                       pulldown('client_id', db_get_rows('people', 'id,name', 'where id > 1 order by name'), PULLDOWN_2D);
                        tem_set('client_id', format_int($_REQUEST['client_id']));
                        tem_show('client_row');
                }