mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
oops, the idea of hidden groups is that you cannot see who is a member ... duh
git-svn-id: file:///svn/phpbb/trunk@3629 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
c75d5d7bf3
commit
687c45e26d
1 changed files with 2 additions and 2 deletions
|
@ -98,8 +98,8 @@ switch ($mode)
|
||||||
$sql = "SELECT g.group_id, g.group_name, g.group_type
|
$sql = "SELECT g.group_id, g.group_name, g.group_type
|
||||||
FROM " . GROUPS_TABLE . " g, " . USER_GROUP_TABLE . " ug
|
FROM " . GROUPS_TABLE . " g, " . USER_GROUP_TABLE . " ug
|
||||||
WHERE ug.user_id = $user_id
|
WHERE ug.user_id = $user_id
|
||||||
AND g.group_id = ug.group_id
|
AND g.group_id = ug.group_id" . (($auth->acl_get('a_'))? ' AND g.group_type <> ' . GROUP_HIDDEN : '') . '
|
||||||
ORDER BY group_type, group_name";
|
ORDER BY group_type, group_name';
|
||||||
$result = $db->sql_query($sql);
|
$result = $db->sql_query($sql);
|
||||||
|
|
||||||
$group_options = '';
|
$group_options = '';
|
||||||
|
|
Loading…
Add table
Reference in a new issue