aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/auth.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes/auth.php')
-rw-r--r--phpBB/includes/auth.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/auth.php b/phpBB/includes/auth.php
index a553d8e4ed..cf1b053f8c 100644
--- a/phpBB/includes/auth.php
+++ b/phpBB/includes/auth.php
@@ -113,7 +113,7 @@ class auth
{
if (isset($this->acl[0]))
{
- $this->cache[$f][$opt] = $this->acl[0]{$this->acl_options['global'][$opt]};
+ $this->cache[$f][$opt] = $this->acl[0][$this->acl_options['global'][$opt]];
}
}
@@ -123,7 +123,7 @@ class auth
{
if (isset($this->acl[$f]))
{
- $this->cache[$f][$opt] |= $this->acl[$f]{$this->acl_options['local'][$opt]};
+ $this->cache[$f][$opt] |= $this->acl[$f][$this->acl_options['local'][$opt]];
}
}
}