mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-01 20:19:13 +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:
parent
1482ed4896
commit
f334d54feb
@ -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)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user