From 3839fe69027836d0c9083095208e4ed548a7ea38 Mon Sep 17 00:00:00 2001 From: Nathan Guse Date: Tue, 16 Oct 2012 17:44:46 -0500 Subject: [ticket/11103] Use report text for report notification, never notify reporter PHPBB3-11103 --- phpBB/report.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'phpBB/report.php') diff --git a/phpBB/report.php b/phpBB/report.php index dd1cc2514c..9f3b09d5ba 100644 --- a/phpBB/report.php +++ b/phpBB/report.php @@ -186,7 +186,9 @@ if ($submit && $reason_id) $lang_success = $user->lang['POST_REPORTED_SUCCESS']; // Notify relevant users - $phpbb_notifications->add_notifications('report_post', array_merge($report_data, $row, $forum_data)); + $phpbb_notifications->add_notifications('report_post', array_merge($report_data, $row, $forum_data, array( + 'report_text' => $report_text, + ))); } else { @@ -216,6 +218,7 @@ if ($submit && $reason_id) // Notify relevant users $phpbb_notifications->add_notifications('report_pm', array_merge($report_data, $row, array( + 'report_text' => $report_text, 'from_user_id' => $report_data['author_id'], 'report_id' => $report_id, ))); -- cgit v1.2.1