Fix check for no articles found in 'RSSUtils::update_rss_feed()'.

FeedParser will always return an array.
This commit is contained in:
wn_
2025-05-18 16:08:13 +00:00
parent 2749c75b72
commit ce36b27a0d

View File

@@ -679,7 +679,7 @@ class RSSUtils {
$items = $rss->get_items();
if (!is_array($items)) {
if (count($items) === 0) {
Debug::log("no articles found.", Debug::LOG_VERBOSE);
$feed_obj->set([