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, 1 insertions, 3 deletions
diff --git a/phpBB/report.php b/phpBB/report.php
index 348b2e91b6..a7bcf58cc9 100644
--- a/phpBB/report.php
+++ b/phpBB/report.php
@@ -25,9 +25,7 @@ $user->setup('mcp');
$forum_id = request_var('f', 0);
$post_id = request_var('p', 0);
$reason_id = request_var('reason_id', 0);
-$report_text = request_var('report_text', '', true);
-
-utf8_normalize_nfc(&$report_text);
+$report_text = utf8_normalize_nfc(request_var('report_text', '', true));
$user_notify = (isset($_POST['notify']) && $user->data['is_registered']) ? true : false;
$submit = (isset($_POST['submit'])) ? true : false;