- Fix setting timezone in Preferences (#1487705)

release-0.6
alecpl 14 years ago
parent 32234d71d3
commit b373fd4b3d

@ -6,6 +6,7 @@ CHANGELOG Roundcube Webmail
- Fix %h/%z variables in username_domain option (#1487701) - Fix %h/%z variables in username_domain option (#1487701)
- Workaround for setting charset in case of malformed bodystructure response (#1487700) - Workaround for setting charset in case of malformed bodystructure response (#1487700)
- Fix impossible to subscribe to protected folders (#1487656) - Fix impossible to subscribe to protected folders (#1487656)
- Fix setting timezone in Preferences (#1487705)
RELEASE 0.5 RELEASE 0.5
----------- -----------

@ -756,7 +756,6 @@ function rcmail_get_skins()
return $skins; return $skins;
} }
// register UI objects // register UI objects
$OUTPUT->add_handlers(array( $OUTPUT->add_handlers(array(
'prefsframe' => 'rcmail_preferences_frame', 'prefsframe' => 'rcmail_preferences_frame',

@ -129,6 +129,8 @@ switch ($CURR_SECTION)
if (isset($CONFIG['max_pagesize']) && ($a_user_prefs['pagesize'] > $CONFIG['max_pagesize'])) if (isset($CONFIG['max_pagesize']) && ($a_user_prefs['pagesize'] > $CONFIG['max_pagesize']))
$a_user_prefs['pagesize'] = (int) $CONFIG['max_pagesize']; $a_user_prefs['pagesize'] = (int) $CONFIG['max_pagesize'];
$a_user_prefs['timezone'] = $_SESSION['timezone'] = (string) $a_user_prefs['timezone'];
break; break;
case 'mailbox': case 'mailbox':

Loading…
Cancel
Save