From 745ef3df6e874e2c11ba1e5b3a7bf13bc129ed0f Mon Sep 17 00:00:00 2001 From: thomasb Date: Thu, 25 Aug 2011 20:09:36 +0000 Subject: Move timezone computation to rcube_config; don't override SESSION['timezone'] when saving prefs git-svn-id: https://svn.roundcube.net/trunk@5132 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/program/steps/settings/save_prefs.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'roundcubemail/program/steps') diff --git a/roundcubemail/program/steps/settings/save_prefs.inc b/roundcubemail/program/steps/settings/save_prefs.inc index ac1cfb3d0..208874f5d 100644 --- a/roundcubemail/program/steps/settings/save_prefs.inc +++ b/roundcubemail/program/steps/settings/save_prefs.inc @@ -141,7 +141,7 @@ switch ($CURR_SECTION) if (isset($CONFIG['max_pagesize']) && ($a_user_prefs['pagesize'] > $CONFIG['max_pagesize'])) $a_user_prefs['pagesize'] = (int) $CONFIG['max_pagesize']; - $a_user_prefs['timezone'] = $_SESSION['timezone'] = (string) $a_user_prefs['timezone']; + $a_user_prefs['timezone'] = (string) $a_user_prefs['timezone']; break; case 'mailbox': -- cgit v1.2.3