1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 05:50:42 +02:00

Note that these changes are as yet untested

git-svn-id: file:///svn/phpbb/trunk@4657 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Paul S. Owen
2003-11-10 14:18:54 +00:00
parent 4a05ef300b
commit d5df8a33a5
3 changed files with 121 additions and 49 deletions

View File

@@ -93,15 +93,11 @@ class ucp_zebra extends module
if ($mode == 'foes')
{
$perms = array();
foreach (discover_auth($user_id_ary, array('a_', 'm_')) as $user_id => $forum_ary)
foreach (discover_auth($user_id_ary, array('a_', 'm_') as $forum_id => $forum_ary)
{
foreach ($forum_ary as $forum_id => $option_ary)
foreach ($forum_ary as $auth_option => $user_ary)
{
if (array_sum(array_values($option_ary)))
{
$perms[] = $user_id;
break;
}
$perms += $user_ary;
}
}