diff options
author | Aleksander Machniak <alec@alec.pl> | 2013-04-28 11:29:54 +0200 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2013-04-28 11:30:32 +0200 |
commit | 4cb8ced1a4ca32c6837e848dbfc585892b802f67 (patch) | |
tree | cde3652aba8cb97b218f005d0185b96b625191a2 | |
parent | de6e22573ee3128b3a04deda70ef4181b8f4c721 (diff) |
Fix min_refresh_interval handling on preferences save (#1489073)
-rw-r--r-- | CHANGELOG | 1 | ||||
-rw-r--r-- | program/steps/settings/save_prefs.inc | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -1,6 +1,7 @@ CHANGELOG Roundcube Webmail =========================== +- Fix min_refresh_interval handling on preferences save (#1489073) - Fix PDF support detection for Firefox PDF.js (#1488972) - Fix messages list focus issue in Internet Explorer (#1489058) - Add db_prefix configuration option in place of db_table_*/db_sequence_* options diff --git a/program/steps/settings/save_prefs.inc b/program/steps/settings/save_prefs.inc index 140f173c6..dfb2b13ac 100644 --- a/program/steps/settings/save_prefs.inc +++ b/program/steps/settings/save_prefs.inc @@ -157,7 +157,7 @@ switch ($CURR_SECTION) $a_user_prefs['timezone'] = (string) $a_user_prefs['timezone']; if (isset($a_user_prefs['refresh_interval']) && !empty($CONFIG['min_refresh_interval'])) { - if ($a_user_prefs['refresh_interval'] > $CONFIG['min_refresh_interval']) { + if ($a_user_prefs['refresh_interval'] < $CONFIG['min_refresh_interval']) { $a_user_prefs['refresh_interval'] = $CONFIG['min_refresh_interval']; } } |