aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/memberlist.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2007-03-07 16:55:20 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2007-03-07 16:55:20 +0000
commitd1e839625ee9b0ca796f83ff55404af4c6307561 (patch)
tree6f9f4ec262aa908150d261e51f862874b7fbfeca /phpBB/memberlist.php
parent4eac4b268b98ec65b7432685de147d76618e479d (diff)
downloadforums-d1e839625ee9b0ca796f83ff55404af4c6307561.tar
forums-d1e839625ee9b0ca796f83ff55404af4c6307561.tar.gz
forums-d1e839625ee9b0ca796f83ff55404af4c6307561.tar.bz2
forums-d1e839625ee9b0ca796f83ff55404af4c6307561.tar.xz
forums-d1e839625ee9b0ca796f83ff55404af4c6307561.zip
- fix some group specific bugs
- correctly determining terrafrost's birthday mod git-svn-id: file:///svn/phpbb/trunk@7143 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/memberlist.php')
-rw-r--r--phpBB/memberlist.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/phpBB/memberlist.php b/phpBB/memberlist.php
index b8dccf28ad..e1601e9a0d 100644
--- a/phpBB/memberlist.php
+++ b/phpBB/memberlist.php
@@ -202,13 +202,14 @@ switch ($mode)
}
}
- // If the mod is only moderating non-viewable forums let us display this circumstance
- // instead of saying they are moderating all forums
+ // If the mod is only moderating non-viewable forums we skip the user. There is no gain in displaying the person then...
if (!$s_forum_select && $undisclosed_forum)
{
- $s_forum_select = '<option value="">' . $user->lang['FORUM_UNDISCLOSED'] . '</option>';
+// $s_forum_select = '<option value="">' . $user->lang['FORUM_UNDISCLOSED'] . '</option>';
+ continue;
}
+ // The person is moderating several "public" forums, therefore the person should be listed, but not giving the real group name if hidden.
if ($row['group_type'] == GROUP_HIDDEN && !$auth->acl_gets('a_group', 'a_groupadd', 'a_groupdel') && $row['ug_user_id'] != $user->data['user_id'])
{
$group_name = $user->lang['GROUP_UNDISCLOSED'];