From 2cb772a0cdbe41b5bd0f0c890e7b78ecea63bfdb Mon Sep 17 00:00:00 2001 From: David Anderson Date: Fri, 4 Oct 2002 21:05:40 +0000 Subject: [PATCH] default to empty prefs when user is created svn path=/trunk/boinc/; revision=464 --- html/user/login_action.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html/user/login_action.php b/html/user/login_action.php index 37c172f12e..97a7ad1018 100644 --- a/html/user/login_action.php +++ b/html/user/login_action.php @@ -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"],