diff options
Diffstat (limited to 'phpBB/includes')
| -rw-r--r-- | phpBB/includes/auth.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/phpBB/includes/auth.php b/phpBB/includes/auth.php index c174fc6769..70a3ccb046 100644 --- a/phpBB/includes/auth.php +++ b/phpBB/includes/auth.php @@ -223,6 +223,16 @@ class auth { $allowed = false; + if (is_array($opt)) + { + foreach ($opt as $check_option) + { + $allowed |= $this->acl_getf_global($check_option); + } + + return $allowed; + } + if (isset($this->acl_options['local'][$opt])) { foreach ($this->acl as $f => $bitstring) |
