]> git.wh0rd.org Git - tt-rss.git/commitdiff
getCategoryCounters: remove unneeded group by
authorAndrew Dolgov <fox@bah.spb.su>
Fri, 16 Jan 2009 16:47:22 +0000 (17:47 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Fri, 16 Jan 2009 16:47:22 +0000 (17:47 +0100)
functions.php

index a6c83b01f72b39490daa9b8f4c2d308628ee2ec5..c84a7a7bf607563355dff0b8badbb8750260772a 100644 (file)
                        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"]);