summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrenda Wallace <shiny@cpan.org>2009-06-24 21:31:10 +1200
committerBrenda Wallace <shiny@cpan.org>2009-06-24 21:31:10 +1200
commit56496a2cb56263fed1eb53313057686f9fd55b63 (patch)
tree676019b5905d4e509a2ff402f3bc9139e3fd245a
parent57903bf2acafdc4d15bb9af4fba183b37ec47efe (diff)
add missing group by item, to make database that aren't mysql happy
-rw-r--r--lib/popularnoticesection.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/popularnoticesection.php b/lib/popularnoticesection.php
index 375d5538b..e47c9b385 100644
--- a/lib/popularnoticesection.php
+++ b/lib/popularnoticesection.php
@@ -68,7 +68,7 @@ class PopularNoticeSection extends NoticeSection
}
$qry .= ' GROUP BY notice.id,notice.profile_id,notice.content,notice.uri,' .
'notice.rendered,notice.url,notice.created,notice.modified,' .
- 'notice.reply_to,notice.is_local,notice.source ' .
+ 'notice.reply_to,notice.is_local,notice.source,notice.conversation ' .
'ORDER BY weight DESC';
$offset = 0;