From: Andrew Dolgov Date: Fri, 16 Jan 2009 16:47:22 +0000 (+0100) Subject: getCategoryCounters: remove unneeded group by X-Git-Tag: 1.3.0~137 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=74dc6d85c8b35e5ac13164e5132461a31839596a;p=tt-rss.git getCategoryCounters: remove unneeded group by --- diff --git a/functions.php b/functions.php index a6c83b01..c84a7a7b 100644 --- a/functions.php +++ b/functions.php @@ -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"]);