aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/report.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/report.php')
-rw-r--r--phpBB/report.php11
1 files changed, 7 insertions, 4 deletions
diff --git a/phpBB/report.php b/phpBB/report.php
index 9679e23d6c..348b2e91b6 100644
--- a/phpBB/report.php
+++ b/phpBB/report.php
@@ -22,10 +22,13 @@ $user->session_begin();
$auth->acl($user->data);
$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);
+$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);
+
$user_notify = (isset($_POST['notify']) && $user->data['is_registered']) ? true : false;
$submit = (isset($_POST['submit'])) ? true : false;