From 55e01d7e0fa90fa3bad569169ca182195a8f1f82 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 16 Jan 2009 17:46:17 +0100 Subject: [PATCH] getFeedCounters: remove unneeded group by --- functions.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/functions.php b/functions.php index 17102517..a6c83b01 100644 --- a/functions.php +++ b/functions.php @@ -2805,10 +2805,7 @@ FROM ttrss_feeds, ttrss_counters_cache WHERE ttrss_feeds.owner_uid = ".$_SESSION["uid"]." AND parent_feed IS NULL - AND ttrss_counters_cache.feed_id = id - GROUP BY ttrss_feeds.id, ttrss_feeds.title, ttrss_feeds.last_updated, - last_error"; - + AND ttrss_counters_cache.feed_id = id"; $result = db_query($link, $query); $fctrs_modified = false; -- 2.39.2