From bc60fda3cfc285b8cc1c7ce49ba66bcebaeee0e7 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 19 Jun 2007 13:54:11 +0100 Subject: [PATCH] getFeedCounters: fix invalid query --- functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions.php b/functions.php index 253223ac..b00c6b0d 100644 --- a/functions.php +++ b/functions.php @@ -1996,7 +1996,7 @@ $result = db_query($link, "SELECT ttrss_feeds.id, SUBSTRING(ttrss_feeds.last_updated,1,19) AS last_updated, last_error, - COUNT(ttrss_entries.id) + COUNT(ttrss_entries.id) AS count FROM ttrss_feeds LEFT JOIN ttrss_user_entries ON (ttrss_user_entries.feed_id = ttrss_feeds.id AND ttrss_user_entries.owner_uid = ttrss_feeds.owner_uid -- 2.39.5