aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/report.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/report.php')
-rw-r--r--phpBB/report.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/report.php b/phpBB/report.php
index 07179007f4..c53ee8fed8 100644
--- a/phpBB/report.php
+++ b/phpBB/report.php
@@ -19,7 +19,7 @@ include(PHPBB_ROOT_PATH . 'includes/functions_display.' . PHP_EXT);
// Start session management
phpbb::$user->session_begin();
-$auth->acl(phpbb::$user->data);
+phpbb::$acl->init(phpbb::$user->data);
phpbb::$user->setup('mcp');
$forum_id = request_var('f', 0);
@@ -77,7 +77,7 @@ $acl_check_ary = array('f_list' => 'POST_NOT_EXIST', 'f_read' => 'USER_CANNOT_RE
foreach ($acl_check_ary as $acl => $error)
{
- if (!$auth->acl_get($acl, $forum_id))
+ if (!phpbb::$acl->acl_get($acl, $forum_id))
{
trigger_error($error);
}