mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-17 04:15:15 +02:00
ensure all new users get a timezone. We'll use UTC until they choose otherwise.
This commit is contained in:
parent
53f799f2bc
commit
2147e0a71f
2 changed files with 6 additions and 2 deletions
4
boot.php
4
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)
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue