mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 00:54:15 +01:00
constructor of datetime need to be called after preferences are read (again), otherwise the tz-offset is not set - easy to verify from the other end of the world ;-)
This commit is contained in:
parent
57998e5827
commit
5ddc4a4f85
@ -940,6 +940,10 @@
|
||||
$this->user = $GLOBALS['egw']->accounts->read_repository();
|
||||
$this->user['acl'] = $GLOBALS['egw']->acl->read_repository();
|
||||
$this->user['preferences'] = $GLOBALS['egw']->preferences->read_repository();
|
||||
if (is_object($GLOBALS['egw']->datetime))
|
||||
{
|
||||
$GLOBALS['egw']->datetime->datetime(); // to set tz_offset from the now read prefs
|
||||
}
|
||||
$this->user['apps'] = $GLOBALS['egw']->applications->read_repository();
|
||||
//@reset($this->data['user']['apps']);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user