From: toyomoyo Date: Wed, 3 Oct 2007 06:20:23 +0000 (+0000) Subject: MDL-11535, error in block sql group by clause X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=2f5b642ef4c382254acd86debe7f9b831b4b9fd3;p=moodle.git MDL-11535, error in block sql group by clause --- diff --git a/tag/lib.php b/tag/lib.php index 9c8ceea074..ee69de4d36 100644 --- a/tag/lib.php +++ b/tag/lib.php @@ -706,7 +706,7 @@ function search_tags($text, $ordered=true, $limitfrom='' , $limitnum='' ) { LIKE '%{$text}%' GROUP BY - tg.id + tg.id, tg.name, tg.rawname ORDER BY count DESC"; @@ -1116,7 +1116,7 @@ function popular_tags_count($nr_of_tags=20, $tag_type = 'default') { ON tg.id = ti.tagid GROUP BY - tagid + tg.id, tg.rawname, tg.name ORDER BY count DESC