forked from extern/egroupware
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();
|
$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";
|
//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'])
|
if ($lang !== $GLOBALS['egw_info']['user']['preferences']['common']['lang'])
|
||||||
{
|
{
|
||||||
translation::init();
|
translation::init();
|
||||||
|
Loading…
Reference in New Issue
Block a user