aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/report.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/report.php')
-rw-r--r--phpBB/report.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/phpBB/report.php b/phpBB/report.php
index 927856a451..d2cb93d57e 100644
--- a/phpBB/report.php
+++ b/phpBB/report.php
@@ -146,22 +146,22 @@ if ($submit && $reason_id)
// Generate the reasons
display_reasons($reason_id);
-$template->assign_vars(array(
+phpbb::$template->assign_vars(array(
'REPORT_TEXT' => $report_text,
'S_REPORT_ACTION' => append_sid('report', 'f=' . $forum_id . '&p=' . $post_id),
'S_NOTIFY' => $user_notify,
- 'S_CAN_NOTIFY' => (phpbb::$user->is_registered) ? true : false)
-);
+ 'S_CAN_NOTIFY' => (phpbb::$user->is_registered) ? true : false,
+));
generate_forum_nav($forum_data);
// Start output of page
page_header(phpbb::$user->lang['REPORT_POST']);
-$template->set_filenames(array(
- 'body' => 'report_body.html')
-);
+phpbb::$template->set_filenames(array(
+ 'body' => 'report_body.html',
+));
page_footer();