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:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user