From 634a03dd45b77738dd1a2c38b873e1a8d78ac270 Mon Sep 17 00:00:00 2001 From: Fabrixxm Date: Wed, 22 Oct 2014 09:46:51 +0200 Subject: [PATCH] Fix #1193 --- include/user.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/user.php b/include/user.php index eccfa7a08a..f8b1578ceb 100644 --- a/include/user.php +++ b/include/user.php @@ -189,8 +189,8 @@ function create_user($arr) { $spubkey = $sres['pubkey']; $r = q("INSERT INTO `user` ( `guid`, `username`, `password`, `email`, `openid`, `nickname`, - `pubkey`, `prvkey`, `spubkey`, `sprvkey`, `register_date`, `verified`, `blocked`, `timezone`, `service_class` ) - VALUES ( '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', %d, %d, 'UTC', '%s' )", + `pubkey`, `prvkey`, `spubkey`, `sprvkey`, `register_date`, `verified`, `blocked`, `timezone`, `service_class`, `default-location` ) + VALUES ( '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', %d, %d, 'UTC', '%s', '' )", dbesc(generate_user_guid()), dbesc($username), dbesc($new_password_encoded), -- 2.39.5