From: Mike Frysinger Date: Tue, 2 Apr 2013 04:36:37 +0000 (-0400) Subject: feedbrowser hack X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=e52034b4bcce994312ce2af31be0a46a70172691;p=tt-rss.git feedbrowser hack --- 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']]);