mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
Alternate syntax for acl_gets()
git-svn-id: file:///svn/phpbb/trunk@3559 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -574,6 +574,12 @@ class auth
|
||||
$f = 0;
|
||||
}
|
||||
|
||||
// alternate syntax: acl_gets(array('m_', 'a_'), $forum_id)
|
||||
if (is_array($args[0]))
|
||||
{
|
||||
$args = $args[0];
|
||||
}
|
||||
|
||||
$acl = 0;
|
||||
foreach ($args as $opt)
|
||||
{
|
||||
|
Reference in New Issue
Block a user