alecpl
2011-01-19 b373fd4b3db8dfc141d6def66ed1cf97aa5e486a
- Fix setting timezone in Preferences (#1487705)


3 files modified
4 ■■■ changed files
CHANGELOG 1 ●●●● patch | view | raw | blame | history
program/steps/settings/func.inc 1 ●●●● patch | view | raw | blame | history
program/steps/settings/save_prefs.inc 2 ●●●●● patch | view | raw | blame | history
CHANGELOG
@@ -6,6 +6,7 @@
- Fix %h/%z variables in username_domain option (#1487701)
- Workaround for setting charset in case of malformed bodystructure response (#1487700)
- Fix impossible to subscribe to protected folders (#1487656)
- Fix setting timezone in Preferences (#1487705)
RELEASE 0.5
-----------
program/steps/settings/func.inc
@@ -756,7 +756,6 @@
  return $skins;
}
// register UI objects
$OUTPUT->add_handlers(array(
  'prefsframe' => 'rcmail_preferences_frame',
program/steps/settings/save_prefs.inc
@@ -129,6 +129,8 @@
    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':