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 /program/steps/settings | |
parent | de6e22573ee3128b3a04deda70ef4181b8f4c721 (diff) |
Fix min_refresh_interval handling on preferences save (#1489073)
Diffstat (limited to 'program/steps/settings')
-rw-r--r-- | program/steps/settings/save_prefs.inc | 2 |
1 files changed, 1 insertions, 1 deletions
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']; } } |