1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-08 09:46:46 +02:00

[ticket/11103] Finishing up PM Report notifications

PHPBB3-11103
This commit is contained in:
Nathan Guse
2012-10-09 22:28:41 -05:00
parent 9d955507b6
commit 6d53bd4675
6 changed files with 53 additions and 17 deletions

View File

@@ -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);