aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/report.php
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2015-02-04 21:09:54 +0100
committerAndreas Fischer <bantu@phpbb.com>2015-02-04 21:09:54 +0100
commit3267c6a61ad88bf96d6f0159dcb565ded4704e82 (patch)
treef7bfb53911f454dfa75cb2f00a0e1395dedbe44f /phpBB/report.php
parentf9ab676530b862798f3eea6bf53415ca3b0faff8 (diff)
parent52446c8327426c59da74257885fd09591c9e1fb3 (diff)
downloadforums-3267c6a61ad88bf96d6f0159dcb565ded4704e82.tar
forums-3267c6a61ad88bf96d6f0159dcb565ded4704e82.tar.gz
forums-3267c6a61ad88bf96d6f0159dcb565ded4704e82.tar.bz2
forums-3267c6a61ad88bf96d6f0159dcb565ded4704e82.tar.xz
forums-3267c6a61ad88bf96d6f0159dcb565ded4704e82.zip
Merge pull request #3257 from MGaetan89/ticket/13455
[ticket/13455] Change request_var() calls with $request->variable() * MGaetan89/ticket/13455: [ticket/13455] Remove `request_var()` references from comments [ticket/13455] Remove unnecessary calls to `utf8_normalize_nfc()` [ticket/13455] Update calls to `request_var()`
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;