JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
fixed bugs: 1) admin couldn't edit tasks, 2) price field was never filled
[contractor-progress.git] / people.php
index 60e3121..00bd513 100644 (file)
@@ -123,7 +123,7 @@ function _people_main() {
                                db_update('people', PEOPLE_DB_FIELDS, $username, $password_hash, $name, $privs, $balance, 'where id=%i', $edit_id);
                                message('Entry updated.');
                        } else {
-                               db_insert('people', PEOPLE_DB_FIELDS, $username, $password_hash, $name, $privs, $balance);
+                               db_insert('people', PEOPLE_DB_FIELDS . ',tiny_agreement', $username, $password_hash, $name, $privs, $balance, 1000);
                                message('Entry saved.');
                        }
                        if($error !== true) {