1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-06 16:56:44 +02:00

[ticket/9485] Add post_id to relevant $phpbb_log->add()

PHPBB3-9485
This commit is contained in:
Zoddo
2015-08-30 16:49:25 +02:00
parent 306fbf23a8
commit 51600b8f18
6 changed files with 10 additions and 0 deletions

View File

@@ -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']
));
}