mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-25 09:30:46 +02:00
Adding a little more exlanation about flash.
Enabling FLASH per default while leaving the default permissions to disable it. There might be no mods and admins visible one a board #12185 git-svn-id: file:///svn/phpbb/trunk@7722 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -127,12 +127,16 @@ switch ($mode)
|
||||
|
||||
// Get group memberships for the admin id ary...
|
||||
$admin_memberships = group_memberships($admin_group_id, $admin_id_ary);
|
||||
|
||||
$admin_user_ids = array();
|
||||
|
||||
// ok, we only need the user ids...
|
||||
foreach ($admin_memberships as $row)
|
||||
|
||||
if (!empty($admin_memberships))
|
||||
{
|
||||
$admin_user_ids[$row['user_id']] = true;
|
||||
// ok, we only need the user ids...
|
||||
foreach ($admin_memberships as $row)
|
||||
{
|
||||
$admin_user_ids[$row['user_id']] = true;
|
||||
}
|
||||
}
|
||||
unset($admin_memberships);
|
||||
|
||||
@@ -163,7 +167,7 @@ switch ($mode)
|
||||
)
|
||||
),
|
||||
|
||||
'WHERE' => $db->sql_in_set('u.user_id', array_unique(array_merge($admin_id_ary, $mod_id_ary))) . '
|
||||
'WHERE' => $db->sql_in_set('u.user_id', array_unique(array_merge($admin_id_ary, $mod_id_ary)), false, true) . '
|
||||
AND u.group_id = g.group_id',
|
||||
|
||||
'ORDER_BY' => 'g.group_name ASC, u.username_clean ASC'
|
||||
|
Reference in New Issue
Block a user