diff --git a/calendar/inc/class.calendar_boupdate.inc.php b/calendar/inc/class.calendar_boupdate.inc.php index 193ad458ec..8e0abcbee2 100644 --- a/calendar/inc/class.calendar_boupdate.inc.php +++ b/calendar/inc/class.calendar_boupdate.inc.php @@ -994,6 +994,11 @@ class calendar_boupdate extends calendar_bo $GLOBALS['egw_info']['user']['preferences'] = $GLOBALS['egw']->preferences->read_repository(); //echo "

".__METHOD__."() restored enviroment of #$temp_user[account_id] $temp_user[account_fullname]: tz={$GLOBALS['egw_info']['user']['preferences']['common']['tz']}

\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();