diff --git a/calendar/inc/class.calendar_boupdate.inc.php b/calendar/inc/class.calendar_boupdate.inc.php index dde699fad9..ed2d523ec1 100644 --- a/calendar/inc/class.calendar_boupdate.inc.php +++ b/calendar/inc/class.calendar_boupdate.inc.php @@ -1039,7 +1039,14 @@ class calendar_boupdate extends calendar_bo // event is in user-time of current user, now we need to calculate the tz-difference to the notified user and take it into account if (!isset($part_prefs['common']['tz'])) $part_prefs['common']['tz'] = $GLOBALS['egw_info']['server']['server_timezone']; - $timezone = new DateTimeZone($part_prefs['common']['tz']); + try + { + $timezone = new DateTimeZone($part_prefs['common']['tz']); + } + catch(Exception $e) + { + $timezone = new DateTimeZone($GLOBALS['egw_info']['server']['server_timezone']); + } $timeformat = $part_prefs['common']['timeformat']; switch($timeformat) {