diff options
| author | Meik Sievertsen <acydburn@phpbb.com> | 2006-11-27 23:31:09 +0000 |
|---|---|---|
| committer | Meik Sievertsen <acydburn@phpbb.com> | 2006-11-27 23:31:09 +0000 |
| commit | bb718d8406581f0dd9435274630ad887b68eb91b (patch) | |
| tree | 81b4c8e32fa13735bead3f6597e427a2b4d45520 /phpBB/includes | |
| parent | 3041ca4ed70f7ad9f28a2eb597bac8e13a92166f (diff) | |
| download | forums-bb718d8406581f0dd9435274630ad887b68eb91b.tar forums-bb718d8406581f0dd9435274630ad887b68eb91b.tar.gz forums-bb718d8406581f0dd9435274630ad887b68eb91b.tar.bz2 forums-bb718d8406581f0dd9435274630ad887b68eb91b.tar.xz forums-bb718d8406581f0dd9435274630ad887b68eb91b.zip | |
- the same procedure as every... oh. this is taken.
- also including the first bugfix within beta4, just noticed at area51 that quicktools are not working in global announcements. :D
git-svn-id: file:///svn/phpbb/trunk@6681 89ea8834-ac86-4346-8a33-228a782c2dd0
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) |
