summaryrefslogtreecommitdiff
path: root/program
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2013-08-20 19:04:05 +0200
committerAleksander Machniak <alec@alec.pl>2013-08-20 19:07:31 +0200
commit896aa0d6044799a37542e3505eb38cd67b1a1f51 (patch)
tree9a1984f6ec48441f6e200769ff41d8263871cfe1 /program
parent0e3f0ad9c90b0a381b9f5e72c40301e19a898976 (diff)
- Fix setting refresh_interval to "Never" in Preferences (#1489286)
Conflicts: CHANGELOG
Diffstat (limited to 'program')
-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 dfb2b13ac..945005d39 100644
--- a/program/steps/settings/save_prefs.inc
+++ b/program/steps/settings/save_prefs.inc
@@ -156,7 +156,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 (!empty($a_user_prefs['refresh_interval']) && !empty($CONFIG['min_refresh_interval'])) {
if ($a_user_prefs['refresh_interval'] < $CONFIG['min_refresh_interval']) {
$a_user_prefs['refresh_interval'] = $CONFIG['min_refresh_interval'];
}