mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00: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
1 changed files with 6 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue