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:
@@ -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']
|
||||
));
|
||||
}
|
||||
|
Reference in New Issue
Block a user