summaryrefslogtreecommitdiff
path: root/lib/groupsbypostssection.php
diff options
context:
space:
mode:
authorZach Copley <zach@controlyourself.ca>2009-03-04 16:21:37 -0800
committerZach Copley <zach@controlyourself.ca>2009-03-04 16:21:37 -0800
commit77e4fad9fac63151c3eee0c3c785c8cf2fa356fb (patch)
tree9803f20b702a6233d67bd201166268f9780e5e4e /lib/groupsbypostssection.php
parent36bb33fb1d7b4befe2fb68c2eef0712619359293 (diff)
parente239a5529abc0958c4f874811ff704f1e5d6ba62 (diff)
Merge branch '0.7.x' of git@gitorious.org:laconica/dev into 0.7.x
Diffstat (limited to 'lib/groupsbypostssection.php')
-rw-r--r--lib/groupsbypostssection.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/groupsbypostssection.php b/lib/groupsbypostssection.php
index a5e33a93d..1a60ddb4f 100644
--- a/lib/groupsbypostssection.php
+++ b/lib/groupsbypostssection.php
@@ -45,7 +45,7 @@ class GroupsByPostsSection extends GroupSection
{
function getGroups()
{
- $qry = 'SELECT user_group.*, count(*) as value ' .
+ $qry = 'SELECT user_group.id, count(*) as value ' .
'FROM user_group JOIN group_inbox '.
'ON user_group.id = group_inbox.group_id ' .
'GROUP BY user_group.id ' .