mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-05 23:25:30 +02:00
Merge branch '3.3.x'
This commit is contained in:
commit
1d17da4a4c
@ -611,8 +611,8 @@ function add_warning($user_row, $warning, $send_pm = true, $post_id = 0)
|
||||
$db->sql_freeresult($result);
|
||||
|
||||
$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'],
|
||||
'forum_id' => $row['forum_id'] ?? 0,
|
||||
'topic_id' => $row['topic_id'] ?? 0,
|
||||
'post_id' => $post_id,
|
||||
$user_row['username']
|
||||
));
|
||||
|
Loading…
x
Reference in New Issue
Block a user