aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/mcp/mcp_main.php
diff options
context:
space:
mode:
authorWesley Fok <wesley.fok@yp.ca>2016-07-13 12:00:06 -0400
committerWesley Fok <wesley.fok@yp.ca>2016-07-13 12:00:06 -0400
commitd53f75f6682883fce060d9aecae2a5639d0bf7f1 (patch)
tree8bbef5960c47862cea28759d61dbb40b9801afd9 /phpBB/includes/mcp/mcp_main.php
parentc1cb59c237f66d2bbf0d1666d495b4b47da0fba0 (diff)
downloadforums-d53f75f6682883fce060d9aecae2a5639d0bf7f1.tar
forums-d53f75f6682883fce060d9aecae2a5639d0bf7f1.tar.gz
forums-d53f75f6682883fce060d9aecae2a5639d0bf7f1.tar.bz2
forums-d53f75f6682883fce060d9aecae2a5639d0bf7f1.tar.xz
forums-d53f75f6682883fce060d9aecae2a5639d0bf7f1.zip
[ticket/14709] add post_id to mod log
Add the missing post_id value to the moderator log entry created upon deleting one or more posts in the MCP topic view. PHPBB3-14709
Diffstat (limited to 'phpBB/includes/mcp/mcp_main.php')
-rw-r--r--phpBB/includes/mcp/mcp_main.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/phpBB/includes/mcp/mcp_main.php b/phpBB/includes/mcp/mcp_main.php
index 9702056d7b..d5ed5522f2 100644
--- a/phpBB/includes/mcp/mcp_main.php
+++ b/phpBB/includes/mcp/mcp_main.php
@@ -1012,6 +1012,7 @@ function mcp_delete_post($post_ids, $is_soft = false, $soft_delete_reason = '',
$approve_log[] = array(
'forum_id' => $post_data['forum_id'],
'topic_id' => $post_data['topic_id'],
+ 'post_id' => $post_id,
'post_subject' => $post_data['post_subject'],
'poster_id' => $post_data['poster_id'],
'post_username' => $post_data['post_username'],