From 74cd60d7cc593b45a3f66022820b7895500de474 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sun, 27 Sep 2020 17:13:36 +0300 Subject: [PATCH] update_rss_feed: don't return as if failed on http 304 --- classes/rssutils.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);