1
0
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:
Henry Sudhof
2007-06-07 17:41:42 +00:00
parent dd9c236e6a
commit cf7a172183
6 changed files with 18 additions and 11 deletions

View File

@@ -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'