diff options
author | thomascube <thomas@roundcube.net> | 2011-08-25 20:09:36 +0000 |
---|---|---|
committer | thomascube <thomas@roundcube.net> | 2011-08-25 20:09:36 +0000 |
commit | da71783bc95f786968955a865943f6052eca83a4 (patch) | |
tree | 08d8837e970fae554fc59ac000150c37cf5350fa /program/steps/settings | |
parent | 1a716d2d343b6614bec80d98cc46f327c296279e (diff) |
Move timezone computation to rcube_config; don't override SESSION['timezone'] when saving prefs
Diffstat (limited to 'program/steps/settings')
-rw-r--r-- | program/steps/settings/save_prefs.inc | 2 |
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': |