default to empty prefs when user is created

svn path=/trunk/boinc/; revision=464
This commit is contained in:
David Anderson 2002-10-04 21:05:40 +00:00
parent b277cee6cf
commit 2cb772a0cd
1 changed files with 1 additions and 1 deletions

View File

@ -74,7 +74,7 @@
$authenticator = random_string();
$email_addr = $HTTP_POST_VARS["new_email_addr"];
$query = sprintf(
"insert into user (create_time, email_addr, name, web_password, authenticator, country, postal_code) values(%d, '%s', '%s', '%s', '%s', '%s', %d)",
"insert into user (create_time, email_addr, name, web_password, authenticator, country, postal_code, global_prefs, project_prefs) values(%d, '%s', '%s', '%s', '%s', '%s', %d, '', '')",
time(),
$email_addr,
$HTTP_POST_VARS["new_name"],