diff options
| author | Ludovic Arnaud <ludovic_arnaud@users.sourceforge.net> | 2003-02-27 03:22:27 +0000 |
|---|---|---|
| committer | Ludovic Arnaud <ludovic_arnaud@users.sourceforge.net> | 2003-02-27 03:22:27 +0000 |
| commit | f334d54feb139f6fc4726c7f4c14bb3125c49774 (patch) | |
| tree | 02f16e95f4fc913841015825d857f239cdee6f09 /phpBB/includes/session.php | |
| parent | 1482ed48961e76c0140244888667eff468e6284d (diff) | |
| download | forums-f334d54feb139f6fc4726c7f4c14bb3125c49774.tar forums-f334d54feb139f6fc4726c7f4c14bb3125c49774.tar.gz forums-f334d54feb139f6fc4726c7f4c14bb3125c49774.tar.bz2 forums-f334d54feb139f6fc4726c7f4c14bb3125c49774.tar.xz forums-f334d54feb139f6fc4726c7f4c14bb3125c49774.zip | |
Alternate syntax for acl_gets()
git-svn-id: file:///svn/phpbb/trunk@3559 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/session.php')
| -rw-r--r-- | phpBB/includes/session.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/phpBB/includes/session.php b/phpBB/includes/session.php index 0b31ff18c8..3a006cd1b6 100644 --- a/phpBB/includes/session.php +++ b/phpBB/includes/session.php @@ -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) { |
