]> git.wh0rd.org - tt-rss.git/blobdiff - functions.php
MIN_UPDATE_INTERVAL -> DEFAULT_UPDATE_INTERVAL
[tt-rss.git] / functions.php
index 2176b8b7731e8243c9debc6e81f7c89f7077fb3c..f8fb75a5cb20d0cba5b2979c10faa59dfc41fa73 100644 (file)
@@ -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)) {