From 1580748c17c4fb79c3b78475fdd703520254859f Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 4 Dec 2020 08:55:22 +0300 Subject: [PATCH] queryFeedHeadlines: make sure feed_check_qpart is always defined --- classes/feeds.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/classes/feeds.php b/classes/feeds.php index 281385936..b75757b65 100755 --- a/classes/feeds.php +++ b/classes/feeds.php @@ -1702,6 +1702,8 @@ class Feeds extends Handler_Protected { } } + $feed_check_qpart = ""; + if (!$allow_archived) { $from_qpart = "${ext_tables_part}ttrss_entries LEFT JOIN ttrss_user_entries ON (ref_id = ttrss_entries.id),ttrss_feeds"; $feed_check_qpart = "ttrss_user_entries.feed_id = ttrss_feeds.id AND";