diff options
| author | Meik Sievertsen <acydburn@phpbb.com> | 2006-05-12 16:20:47 +0000 |
|---|---|---|
| committer | Meik Sievertsen <acydburn@phpbb.com> | 2006-05-12 16:20:47 +0000 |
| commit | 4b247a505438b971734185893521abf94851f189 (patch) | |
| tree | 31f9eba83ba39fdc8bc32ac0f005036761c9954c /phpBB | |
| parent | e18efcf810afa535f68ca8c8584e669b7b4e7368 (diff) | |
| download | forums-4b247a505438b971734185893521abf94851f189.tar forums-4b247a505438b971734185893521abf94851f189.tar.gz forums-4b247a505438b971734185893521abf94851f189.tar.bz2 forums-4b247a505438b971734185893521abf94851f189.tar.xz forums-4b247a505438b971734185893521abf94851f189.zip | |
ok, maybe now?
test new sf infrastructure again, now using the syncmail script in out cvsroot directory
git-svn-id: file:///svn/phpbb/trunk@5896 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB')
| -rw-r--r-- | phpBB/memberlist.php | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/phpBB/memberlist.php b/phpBB/memberlist.php index 6d518a9994..a748436bc1 100644 --- a/phpBB/memberlist.php +++ b/phpBB/memberlist.php @@ -141,17 +141,21 @@ switch ($mode) $which_row = (in_array($row['user_id'], $admin_id_ary)) ? 'admin' : 'mod'; $s_forum_select = ''; - if ($which_row == 'mod' && sizeof(array_diff(array_keys($forums), $forum_id_ary[$row['user_id']]))) + + if (isset($forum_id_ary[$row['user_id'])) { - foreach ($forum_id_ary[$row['user_id']] as $forum_id) + if ($which_row == 'mod' && sizeof(array_diff(array_keys($forums), $forum_id_ary[$row['user_id']]))) { - if (isset($forums[$forum_id]) && $auth->acl_get('f_list', $forum_id)) + foreach ($forum_id_ary[$row['user_id']] as $forum_id) { - $s_forum_select .= '<option value="">' . $forums[$forum_id] . '</option>'; + if (isset($forums[$forum_id]) && $auth->acl_get('f_list', $forum_id)) + { + $s_forum_select .= '<option value="">' . $forums[$forum_id] . '</option>'; + } } } } - + 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['UNDISCLOSED']; |
