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:29:54 +0200 |
commit | 8eb66e38c9f2ce2e4af1f7fe9edcbb9071922ff4 (patch) | |
tree | a87cad559684602ed68e556e3f0226b32d2657ba /program/steps | |
parent | 967860765cb192a8c7efc0b7256eb34d8ab13c73 (diff) |
Fix min_refresh_interval handling on preferences save (#1489073)
Diffstat (limited to 'program/steps')
-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']; } } |