mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 20:08:53 +00:00
Merge pull request #2697 from n-aleha/ticket/12816
[ticket/12816] Fix comment about logs in user_ban function * n-aleha/ticket/12816: [ticket/12816] Fix comment about logs in user_ban function
This commit is contained in:
commit
0bec9897d7
1 changed files with 1 additions and 1 deletions
|
@ -1137,7 +1137,7 @@ function user_ban($mode, $ban, $ban_len, $ban_len_other, $ban_exclude, $ban_reas
|
|||
// Update log
|
||||
$log_entry = ($ban_exclude) ? 'LOG_BAN_EXCLUDE_' : 'LOG_BAN_';
|
||||
|
||||
// Add to moderator log, admin log and user notes
|
||||
// Add to admin log, moderator log and user notes
|
||||
add_log('admin', $log_entry . strtoupper($mode), $ban_reason, $ban_list_log);
|
||||
add_log('mod', 0, 0, $log_entry . strtoupper($mode), $ban_reason, $ban_list_log);
|
||||
if ($mode == 'user')
|
||||
|
|
Loading…
Add table
Reference in a new issue