aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
Diffstat (limited to 'boot.php')
-rwxr-xr-xboot.php4
1 files changed, 4 insertions, 0 deletions
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)
);