1
0
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:
Ludovic Arnaud 2003-02-27 03:22:27 +00:00
parent 1482ed4896
commit f334d54feb

View File

@ -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)
{