From 2147e0a71fab98fd6e11b1ca54e46821c8829213 Mon Sep 17 00:00:00 2001 From: friendica Date: Sat, 31 Mar 2012 16:08:40 -0700 Subject: ensure all new users get a timezone. We'll use UTC until they choose otherwise. --- boot.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'boot.php') diff --git a/boot.php b/boot.php index 6309a5f9b..bdd8d4f96 100755 --- a/boot.php +++ b/boot.php @@ -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) ); -- cgit v1.2.3