From 171a535dd52ab2a82db0a30e66ebf8b3ef0fe93a Mon Sep 17 00:00:00 2001 From: David M Date: Sat, 22 Apr 2006 18:34:13 +0000 Subject: [PATCH] - this works on other DBs now too :D git-svn-id: file:///svn/phpbb/trunk@5829 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/acp/acp_groups.php | 1 + 1 file changed, 1 insertion(+) diff --git a/phpBB/includes/acp/acp_groups.php b/phpBB/includes/acp/acp_groups.php index b3a9751d19..48e50881df 100644 --- a/phpBB/includes/acp/acp_groups.php +++ b/phpBB/includes/acp/acp_groups.php @@ -658,6 +658,7 @@ class acp_groups $sql = 'SELECT g.group_id, g.group_name, g.group_type, COUNT(ug.user_id) AS total_members FROM ' . GROUPS_TABLE . ' g LEFT JOIN ' . USER_GROUP_TABLE . ' ug USING (group_id) + GROUP BY g.group_id, g.group_name, g.group_type ORDER BY g.group_type ASC, g.group_name'; $result = $db->sql_query($sql);