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 /boot.php | |
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 'boot.php')
-rwxr-xr-x | boot.php | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1313,8 +1313,12 @@ function feed_birthday($uid,$tz) { * */ + $birthday = ''; + if(! strlen($tz)) + $tz = 'UTC'; + $p = q("SELECT `dob` FROM `profile` WHERE `is-default` = 1 AND `uid` = %d LIMIT 1", intval($uid) ); |