mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-13 17:38:19 +01:00
Fix changing status sometimes changed time(zone)
This commit is contained in:
parent
8c2bee191a
commit
26f4c6556b
@ -994,6 +994,11 @@ class calendar_boupdate extends calendar_bo
|
||||
$GLOBALS['egw_info']['user']['preferences'] = $GLOBALS['egw']->preferences->read_repository();
|
||||
//echo "<p>".__METHOD__."() restored enviroment of #$temp_user[account_id] $temp_user[account_fullname]: tz={$GLOBALS['egw_info']['user']['preferences']['common']['tz']}</p>\n";
|
||||
}
|
||||
else
|
||||
{
|
||||
// Loading other user's preferences can change current user's tz
|
||||
$GLOBALS['egw']->preferences->check_set_tz_offset();
|
||||
}
|
||||
if ($lang !== $GLOBALS['egw_info']['user']['preferences']['common']['lang'])
|
||||
{
|
||||
translation::init();
|
||||
|
Loading…
Reference in New Issue
Block a user