aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/report.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/report.php')
-rw-r--r--phpBB/report.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/phpBB/report.php b/phpBB/report.php
index 8bede2cffd..dd1cc2514c 100644
--- a/phpBB/report.php
+++ b/phpBB/report.php
@@ -215,7 +215,10 @@ if ($submit && $reason_id)
$lang_success = $user->lang['PM_REPORTED_SUCCESS'];
// Notify relevant users
- //$phpbb_notifications->add_notifications('report_pm', $report_data);
+ $phpbb_notifications->add_notifications('report_pm', array_merge($report_data, $row, array(
+ 'from_user_id' => $report_data['author_id'],
+ 'report_id' => $report_id,
+ )));
}
meta_refresh(3, $redirect_url);