summaryrefslogtreecommitdiff
path: root/program/steps
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2011-08-25 20:09:36 +0000
committerthomascube <thomas@roundcube.net>2011-08-25 20:09:36 +0000
commitda71783bc95f786968955a865943f6052eca83a4 (patch)
tree08d8837e970fae554fc59ac000150c37cf5350fa /program/steps
parent1a716d2d343b6614bec80d98cc46f327c296279e (diff)
Move timezone computation to rcube_config; don't override SESSION['timezone'] when saving prefs
Diffstat (limited to 'program/steps')
-rw-r--r--program/steps/settings/save_prefs.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/steps/settings/save_prefs.inc b/program/steps/settings/save_prefs.inc
index ac1cfb3d0..208874f5d 100644
--- a/program/steps/settings/save_prefs.inc
+++ b/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':