diff --git a/classes/pref_feeds.php b/classes/pref_feeds.php index bf9f18a94..1f875ba12 100644 --- a/classes/pref_feeds.php +++ b/classes/pref_feeds.php @@ -1192,7 +1192,7 @@ class Pref_Feeds extends Protected_Handler { print ""; - $result = db_query($this->link, "SELECT c.title, c.id,COUNT(f.*) AS count + $result = db_query($this->link, "SELECT c.title, c.id,COUNT(f.id) AS count FROM ttrss_feed_categories AS c LEFT JOIN ttrss_feeds AS f ON (f.cat_id = c.id) WHERE c.owner_uid = ".$_SESSION["uid"]."