summaryrefslogtreecommitdiff
path: root/program/steps/settings/save_prefs.inc
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2011-01-19 13:43:56 +0000
committeralecpl <alec@alec.pl>2011-01-19 13:43:56 +0000
commitb373fd4b3db8dfc141d6def66ed1cf97aa5e486a (patch)
treedfb8ba69a1c69be58321a79055f4e97e14805b56 /program/steps/settings/save_prefs.inc
parent32234d71d3e7817607ba97f76b7d22b1999a0982 (diff)
- Fix setting timezone in Preferences (#1487705)
Diffstat (limited to 'program/steps/settings/save_prefs.inc')
-rw-r--r--program/steps/settings/save_prefs.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/program/steps/settings/save_prefs.inc b/program/steps/settings/save_prefs.inc
index 4d8bbf527..64aeb5f81 100644
--- a/program/steps/settings/save_prefs.inc
+++ b/program/steps/settings/save_prefs.inc
@@ -129,6 +129,8 @@ 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'];
+
break;
case 'mailbox':