1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-16 02:25:57 +00:00

getCategoryCounters: remove unneeded group by

This commit is contained in:
Andrew Dolgov
2009-01-16 17:47:22 +01:00
parent 55e01d7e0f
commit 74dc6d85c8

View File

@@ -2335,7 +2335,7 @@
WHERE
ttrss_cat_counters_cache.feed_id = cat_id AND
hidden = false AND
ttrss_feeds.owner_uid = ".$_SESSION["uid"]." GROUP BY cat_id");
ttrss_feeds.owner_uid = ".$_SESSION["uid"]);
while ($line = db_fetch_assoc($result)) {
$line["cat_id"] = sprintf("%d", $line["cat_id"]);