summaryrefslogtreecommitdiff
path: root/program/steps/settings/save_prefs.inc
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2013-04-28 11:29:54 +0200
committerAleksander Machniak <alec@alec.pl>2013-04-28 11:29:54 +0200
commit8eb66e38c9f2ce2e4af1f7fe9edcbb9071922ff4 (patch)
treea87cad559684602ed68e556e3f0226b32d2657ba /program/steps/settings/save_prefs.inc
parent967860765cb192a8c7efc0b7256eb34d8ab13c73 (diff)
Fix min_refresh_interval handling on preferences save (#1489073)
Diffstat (limited to 'program/steps/settings/save_prefs.inc')
-rw-r--r--program/steps/settings/save_prefs.inc2
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'];
}
}