summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/functions.php b/functions.php
index 2176b8b77..f8fb75a5c 100644
--- a/functions.php
+++ b/functions.php
@@ -31,7 +31,7 @@
while ($line = db_fetch_assoc($result)) {
$upd_intl = $line["update_interval"];
- if (!$upd_intl) $upd_intl = MIN_UPDATE_INTERVAL;
+ if (!$upd_intl || $upd_intl == 0) $upd_intl = DEFAULT_UPDATE_INTERVAL;
if (!$line["last_updated"] ||
time() - strtotime($line["last_updated"]) > ($upd_intl * 60)) {