diff --git a/phpgwapi/inc/class.egw_datetime.inc.php b/phpgwapi/inc/class.egw_datetime.inc.php index ef27c8a659..4081c8862f 100755 --- a/phpgwapi/inc/class.egw_datetime.inc.php +++ b/phpgwapi/inc/class.egw_datetime.inc.php @@ -583,7 +583,7 @@ */ function egw_datetime() { - $this->tz_offset = 3600 * (int)@$GLOBALS['egw_info']['user']['preferences']['common']['tz_offset']; + $this->tz_offset = 3600 * @$GLOBALS['egw_info']['user']['preferences']['common']['tz_offset']; print_debug('datetime::datetime::gmtnow',$this->gmtnow,'api'); $error_occured = True;