summaryrefslogtreecommitdiff
path: root/roundcubemail/program/steps/settings/save_prefs.inc
diff options
context:
space:
mode:
authorthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-08-25 20:09:36 +0000
committerthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-08-25 20:09:36 +0000
commit745ef3df6e874e2c11ba1e5b3a7bf13bc129ed0f (patch)
tree13e0f09e763901178b2a1501e952b4a9c20911fd /roundcubemail/program/steps/settings/save_prefs.inc
parentb37de6243f71dd669f799d2b835cb50c67c42da8 (diff)
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
Diffstat (limited to 'roundcubemail/program/steps/settings/save_prefs.inc')
-rw-r--r--roundcubemail/program/steps/settings/save_prefs.inc2
1 files changed, 1 insertions, 1 deletions
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':