mirror of
https://github.com/friendica/friendica
synced 2025-04-27 05:10:10 +00:00
Use getter/setter for timezone value
This commit is contained in:
parent
40a42ccdb1
commit
866dbf9f89
4 changed files with 32 additions and 11 deletions
|
@ -307,7 +307,7 @@ class Authentication
|
|||
|
||||
if (strlen($user_record['timezone'])) {
|
||||
date_default_timezone_set($user_record['timezone']);
|
||||
$a->timezone = $user_record['timezone'];
|
||||
$a->setTimeZone($user_record['timezone']);
|
||||
}
|
||||
|
||||
$contact = $this->dba->selectFirst('contact', ['id'], ['uid' => $user_record['uid'], 'self' => true]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue