mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 05:50:42 +02:00
git-svn-id: file:///svn/phpbb/trunk@7246 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -703,11 +703,13 @@ class acp_groups
|
||||
while ($row = $db->sql_fetchrow($result))
|
||||
{
|
||||
$type = ($row['group_type'] == GROUP_SPECIAL) ? 'special' : 'normal';
|
||||
|
||||
// used to determine what type a group is
|
||||
$lookup[$row['group_id']] = $type;
|
||||
|
||||
// used for easy access to the data within a group
|
||||
$cached_group_data[$type][$row['group_id']] = $row;
|
||||
$cached_group_data[$type][$row['group_id']]['total_members'] = '0';
|
||||
$cached_group_data[$type][$row['group_id']]['total_members'] = 0;
|
||||
}
|
||||
$db->sql_freeresult($result);
|
||||
|
||||
@@ -725,6 +727,9 @@ class acp_groups
|
||||
}
|
||||
$db->sql_freeresult($result);
|
||||
|
||||
// The order is... normal, then special
|
||||
asort($cached_group_data);
|
||||
|
||||
foreach ($cached_group_data as $type => $row_ary)
|
||||
{
|
||||
if ($type == 'special')
|
||||
|
Reference in New Issue
Block a user