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 36c4c9abc8..d6d1ca17c8 100644
--- a/phpBB/report.php
+++ b/phpBB/report.php
@@ -25,12 +25,12 @@ $user->session_begin();
$auth->acl($user->data);
$user->setup('mcp');
-$forum_id = request_var('f', 0);
-$post_id = request_var('p', 0);
-$pm_id = request_var('pm', 0);
-$reason_id = request_var('reason_id', 0);
-$report_text = utf8_normalize_nfc(request_var('report_text', '', true));
-$user_notify = ($user->data['is_registered']) ? request_var('notify', 0) : false;
+$forum_id = $request->variable('f', 0);
+$post_id = $request->variable('p', 0);
+$pm_id = $request->variable('pm', 0);
+$reason_id = $request->variable('reason_id', 0);
+$report_text = $request->variable('report_text', '', true);
+$user_notify = ($user->data['is_registered']) ? $request->variable('notify', 0) : false;
$submit = (isset($_POST['submit'])) ? true : false;