From e52034b4bcce994312ce2af31be0a46a70172691 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Tue, 2 Apr 2013 00:36:37 -0400 Subject: [PATCH] feedbrowser hack --- include/feedbrowser.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/feedbrowser.php b/include/feedbrowser.php index 8ebeb20c..aa55048d 100644 --- a/include/feedbrowser.php +++ b/include/feedbrowser.php @@ -21,9 +21,9 @@ (SELECT feed_url, site_url, title, subscribers FROM ttrss_feedbrowser_cache UNION ALL SELECT feed_url, site_url, title, subscribers FROM ttrss_linked_feeds) AS qqq WHERE - (SELECT COUNT(id) = 0 FROM ttrss_feeds AS tf + (SELECT COUNT(id) != 0 FROM ttrss_feeds AS tf WHERE tf.feed_url = qqq.feed_url - AND owner_uid = ?) $search_qpart + ) $search_qpart GROUP BY feed_url, site_url, title ORDER BY subscribers DESC LIMIT " . (int)$limit); $sth->execute([$_SESSION['uid']]); -- 2.39.5