diff options
author | Paul S. Owen <psotfx@users.sourceforge.net> | 2003-03-10 18:20:29 +0000 |
---|---|---|
committer | Paul S. Owen <psotfx@users.sourceforge.net> | 2003-03-10 18:20:29 +0000 |
commit | 687c45e26d7d3fd01779a23679e240c5c7baabd9 (patch) | |
tree | 2f523f070b7e65d76f49229fe0aef7c6a9fe6f54 /phpBB/memberlist.php | |
parent | c75d5d7bf370a3340a00cb6cfaebb2a83515b2ac (diff) | |
download | forums-687c45e26d7d3fd01779a23679e240c5c7baabd9.tar forums-687c45e26d7d3fd01779a23679e240c5c7baabd9.tar.gz forums-687c45e26d7d3fd01779a23679e240c5c7baabd9.tar.bz2 forums-687c45e26d7d3fd01779a23679e240c5c7baabd9.tar.xz forums-687c45e26d7d3fd01779a23679e240c5c7baabd9.zip |
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
Diffstat (limited to 'phpBB/memberlist.php')
-rw-r--r-- | phpBB/memberlist.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/memberlist.php b/phpBB/memberlist.php index 03f6bb7de6..ebe0557e39 100644 --- a/phpBB/memberlist.php +++ b/phpBB/memberlist.php @@ -98,8 +98,8 @@ switch ($mode) $sql = "SELECT g.group_id, g.group_name, g.group_type FROM " . GROUPS_TABLE . " g, " . USER_GROUP_TABLE . " ug WHERE ug.user_id = $user_id - AND g.group_id = ug.group_id - ORDER BY group_type, group_name"; + AND g.group_id = ug.group_id" . (($auth->acl_get('a_'))? ' AND g.group_type <> ' . GROUP_HIDDEN : '') . ' + ORDER BY group_type, group_name'; $result = $db->sql_query($sql); $group_options = ''; |