summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--functions.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/functions.php b/functions.php
index 4438c41bf..3b63a24e7 100644
--- a/functions.php
+++ b/functions.php
@@ -100,8 +100,8 @@
$upd_intl = get_pref($link, 'DEFAULT_UPDATE_INTERVAL');
}
- if (!$line["last_updated"] ||
- time() - strtotime($line["last_updated"]) > ($upd_intl * 60)) {
+ if ($fetch || (!$line["last_updated"] ||
+ time() - strtotime($line["last_updated"]) > ($upd_intl * 60))) {
update_rss_feed($link, $line["feed_url"], $line["id"]);
}