]> git.wh0rd.org Git - tt-rss.git/commitdiff
skip private feeds from feed-details/subscribed
authorAndrew Dolgov <fox@bah.spb.su>
Fri, 30 Dec 2005 12:13:18 +0000 (13:13 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Fri, 30 Dec 2005 12:13:18 +0000 (13:13 +0100)
backend.php

index ad6e932ed3e9e15e26096ed8de2e2af04f93b598..4683143a68a8abae0114ddc5750d2aca0199fc24 100644 (file)
                        $site_url = db_fetch_result($result, 0, "site_url");
        
                        $result = db_query($link, "SELECT COUNT(id) AS subscribed
-                                               FROM ttrss_feeds WHERE feed_url = '$feed_url'");
+                                               FROM ttrss_feeds WHERE feed_url = '$feed_url' AND private = false");
        
                        $subscribed = db_fetch_result($result, 0, "subscribed");