aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/mcp/mcp_queue.php
diff options
context:
space:
mode:
authorZoddo <zoddo.ino@gmail.com>2015-08-30 16:49:25 +0200
committerZoddo <zoddo.ino@gmail.com>2015-08-30 22:43:07 +0200
commit51600b8f181b20d88c42ea2fb6893200e4e955e7 (patch)
treee4370c5f288bab168d1510a6475f9368d910f07c /phpBB/includes/mcp/mcp_queue.php
parent306fbf23a8113e6d9d7160e02889bd10ea24b495 (diff)
downloadforums-51600b8f181b20d88c42ea2fb6893200e4e955e7.tar
forums-51600b8f181b20d88c42ea2fb6893200e4e955e7.tar.gz
forums-51600b8f181b20d88c42ea2fb6893200e4e955e7.tar.bz2
forums-51600b8f181b20d88c42ea2fb6893200e4e955e7.tar.xz
forums-51600b8f181b20d88c42ea2fb6893200e4e955e7.zip
[ticket/9485] Add post_id to relevant $phpbb_log->add()
PHPBB3-9485
Diffstat (limited to 'phpBB/includes/mcp/mcp_queue.php')
-rw-r--r--phpBB/includes/mcp/mcp_queue.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/phpBB/includes/mcp/mcp_queue.php b/phpBB/includes/mcp/mcp_queue.php
index 3488ea326d..ac82c9f2ad 100644
--- a/phpBB/includes/mcp/mcp_queue.php
+++ b/phpBB/includes/mcp/mcp_queue.php
@@ -678,6 +678,7 @@ class mcp_queue
$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'],
);
}
@@ -694,6 +695,7 @@ class mcp_queue
$phpbb_log->add('mod', $user->data['user_id'], $user->ip, 'LOG_POST_' . strtoupper($action) . 'D', false, array(
'forum_id' => $log_data['forum_id'],
'topic_id' => $log_data['topic_id'],
+ 'post_id' => $log_data['post_id'],
$log_data['post_subject']
));
}