From 6eb975f0da140c40285e69cd75d81dcc3cc4e09d Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Mon, 30 Nov 2009 16:00:23 +0000 Subject: [PATCH] upps typo --- phpgwapi/inc/class.egw.inc.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/phpgwapi/inc/class.egw.inc.php b/phpgwapi/inc/class.egw.inc.php index 8a2b4e55ee..2469016252 100644 --- a/phpgwapi/inc/class.egw.inc.php +++ b/phpgwapi/inc/class.egw.inc.php @@ -188,9 +188,8 @@ class egw extends egw_minimal $this->db->Link_ID->SetCharSet($GLOBALS['egw_info']['server']['system_charset']); } // restoring server timezone, to avoid warnings under php5.3 - if (empty($GLOBALS['egw_info']['server']['server_timezone'])) + if (!empty($GLOBALS['egw_info']['server']['server_timezone'])) { - date_default_timezone_set($GLOBALS['egw_info']['server']['server_timezone']); } register_shutdown_function(array($this, 'shutdown'));