aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/mcp/mcp_reports.php
diff options
context:
space:
mode:
authorTristan Darricau <tristan.darricau@sensiolabs.com>2015-09-09 11:04:13 +0200
committerTristan Darricau <tristan.darricau@sensiolabs.com>2015-09-09 11:04:13 +0200
commit542d75b3a918a5782a1682003fdc4e1f004afc47 (patch)
tree2284f3f68e39e7f5630fefc6d4879966b2e6e681 /phpBB/includes/mcp/mcp_reports.php
parentb83ce0a702583aec717a7be6363b950b63a45f45 (diff)
parent1fbdf615f2aa9c9be4816a9d927d36f88b68f20d (diff)
downloadforums-542d75b3a918a5782a1682003fdc4e1f004afc47.tar
forums-542d75b3a918a5782a1682003fdc4e1f004afc47.tar.gz
forums-542d75b3a918a5782a1682003fdc4e1f004afc47.tar.bz2
forums-542d75b3a918a5782a1682003fdc4e1f004afc47.tar.xz
forums-542d75b3a918a5782a1682003fdc4e1f004afc47.zip
Merge pull request #3870 from Zoddo/ticket/9485
[ticket/9485] Add a "View post" link in the moderation logs * Zoddo/ticket/9485: [ticket/9485] Fix tests [ticket/9485] Add post_id to relevant $phpbb_log->add() [ticket/9485] Add a "View post" link in the moderation logs
Diffstat (limited to 'phpBB/includes/mcp/mcp_reports.php')
-rw-r--r--phpBB/includes/mcp/mcp_reports.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/phpBB/includes/mcp/mcp_reports.php b/phpBB/includes/mcp/mcp_reports.php
index 3970237058..45265c89e7 100644
--- a/phpBB/includes/mcp/mcp_reports.php
+++ b/phpBB/includes/mcp/mcp_reports.php
@@ -716,6 +716,7 @@ function close_report($report_id_list, $mode, $action, $pm = false)
$phpbb_log->add('mod', $user->data['user_id'], $user->ip, 'LOG_REPORT_' . strtoupper($action) . 'D', false, array(
'forum_id' => $post_info[$report['post_id']]['forum_id'],
'topic_id' => $post_info[$report['post_id']]['topic_id'],
+ 'post_id' => $report['post_id'],
$post_info[$report['post_id']]['post_subject']
));
$phpbb_notifications->delete_notifications('notification.type.report_post', $report['post_id']);