aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/report.php
diff options
context:
space:
mode:
authorNathan Guse <nathaniel.guse@gmail.com>2012-10-09 22:28:41 -0500
committerNathan Guse <nathaniel.guse@gmail.com>2012-10-09 22:28:41 -0500
commit6d53bd4675e00419bcfcf476b03166b9774bebca (patch)
treed43fae09701fd781e2c2c0ae0626228867eb839e /phpBB/report.php
parent9d955507b6314ccd52d4d7d42a6d2514f14db9f3 (diff)
downloadforums-6d53bd4675e00419bcfcf476b03166b9774bebca.tar
forums-6d53bd4675e00419bcfcf476b03166b9774bebca.tar.gz
forums-6d53bd4675e00419bcfcf476b03166b9774bebca.tar.bz2
forums-6d53bd4675e00419bcfcf476b03166b9774bebca.tar.xz
forums-6d53bd4675e00419bcfcf476b03166b9774bebca.zip
[ticket/11103] Finishing up PM Report notifications
PHPBB3-11103
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);