diff options
author | friendica <info@friendica.com> | 2012-03-31 16:08:40 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-03-31 16:08:40 -0700 |
commit | 2147e0a71fab98fd6e11b1ca54e46821c8829213 (patch) | |
tree | f306b057058e5cc40cd9ca17377b328834985a84 /mod | |
parent | 53f799f2bc125fadf527e3c65e8e9882d53d9aea (diff) | |
download | volse-hubzilla-2147e0a71fab98fd6e11b1ca54e46821c8829213.tar.gz volse-hubzilla-2147e0a71fab98fd6e11b1ca54e46821c8829213.tar.bz2 volse-hubzilla-2147e0a71fab98fd6e11b1ca54e46821c8829213.zip |
ensure all new users get a timezone. We'll use UTC until they choose otherwise.
Diffstat (limited to 'mod')
-rwxr-xr-x | mod/register.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/register.php b/mod/register.php index 91080b1d8..630c0a675 100755 --- a/mod/register.php +++ b/mod/register.php @@ -220,8 +220,8 @@ function register_post(&$a) { $spubkey = $spkey["key"]; $r = q("INSERT INTO `user` ( `guid`, `username`, `password`, `email`, `openid`, `nickname`, - `pubkey`, `prvkey`, `spubkey`, `sprvkey`, `register_date`, `verified`, `blocked` ) - VALUES ( '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', %d, %d )", + `pubkey`, `prvkey`, `spubkey`, `sprvkey`, `register_date`, `verified`, `blocked`, `timezone` ) + VALUES ( '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', %d, %d, 'UTC' )", dbesc(generate_user_guid()), dbesc($username), dbesc($new_password_encoded), |