]> git.donarmstrong.com Git - roundcube.git/blobdiff - program/steps/settings/save_prefs.inc
Imported Upstream version 0.5.1
[roundcube.git] / program / steps / settings / save_prefs.inc
index a0469ae1231692ee3a26809ca569b8f2e49b5b18..1bc98a65b068611eb1b53d7c6e83bd7f4b19329d 100644 (file)
@@ -15,7 +15,7 @@
  | Author: Thomas Bruederli <roundcube@gmail.com>                        |
  +-----------------------------------------------------------------------+
 
- $Id: save_prefs.inc 4169 2010-11-02 14:53:54Z alec $
+ $Id: save_prefs.inc 4469 2011-01-29 14:55:12Z thomasb $
 
 */
 
@@ -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':