diff options
author | Evan Prodromou <evan@controlyourself.ca> | 2009-03-04 11:05:58 -0800 |
---|---|---|
committer | Evan Prodromou <evan@controlyourself.ca> | 2009-03-04 11:05:58 -0800 |
commit | 8cc19b90eeb7920b2cfe79959038c5e25f40930a (patch) | |
tree | 8608ad304d57f7395ae4bf7b58ed4be7eaa0b6a1 /lib/groupsbypostssection.php | |
parent | cf4e1872ab8109ea6a3230e43cc70899a17dd075 (diff) | |
parent | a7efd4ff556bbf6bafcfc81db758ab192b8802ad (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.php | 2 |
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 ' . |