summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2007-06-19 13:54:11 +0100
committerAndrew Dolgov <[email protected]>2007-06-19 13:54:11 +0100
commitbc60fda3cfc285b8cc1c7ce49ba66bcebaeee0e7 (patch)
treea227e3ee3232d53d2167062a5843b7c8cfccf4b8 /functions.php
parent5c656a9d7e5443a79e001010cc43b5319c907671 (diff)
getFeedCounters: fix invalid query
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/functions.php b/functions.php
index 253223acd..b00c6b0dd 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