summaryrefslogtreecommitdiff
path: root/classes/rssutils.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2020-09-27 17:13:36 +0300
committerAndrew Dolgov <[email protected]>2020-09-27 17:13:36 +0300
commit74cd60d7cc593b45a3f66022820b7895500de474 (patch)
treeec4ab7ca75aadc842fb84e8a9c4d46d39bc9cbf0 /classes/rssutils.php
parentd4d0e976dc371d6fb761d3e3713ca0f7182ebb40 (diff)
update_rss_feed: don't return as if failed on http 304
Diffstat (limited to 'classes/rssutils.php')
-rwxr-xr-xclasses/rssutils.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/rssutils.php b/classes/rssutils.php
index 114932569..577e1b530 100755
--- a/classes/rssutils.php
+++ b/classes/rssutils.php
@@ -453,7 +453,7 @@ class RSSUtils {
last_updated = NOW() WHERE id = ?");
$sth->execute([$error_message, $feed]);
- return;
+ return $error_message == "";
}
Debug::log("running HOOK_FEED_FETCHED handlers...", Debug::$LOG_VERBOSE);