1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 22:10:45 +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

@@ -589,6 +589,7 @@ function add_warning($user_row, $warning, $send_pm = true, $post_id = 0)
$phpbb_log->add('mod', $user->data['user_id'], $user->ip, 'LOG_USER_WARNING', false, array(
'forum_id' => $row['forum_id'],
'topic_id' => $row['topic_id'],
'post_id' => $post_id,
$user_row['username']
));
}