bugfix: bans
This commit is contained in:
parent
840e8cd093
commit
cff15bd765
@ -253,7 +253,7 @@ class Bans {
|
|||||||
modLog('Created a new ' .
|
modLog('Created a new ' .
|
||||||
($length > 0 ? preg_replace('/^(\d+) (\w+?)s?$/', '$1-$2', until($length)) : 'permanent') .
|
($length > 0 ? preg_replace('/^(\d+) (\w+?)s?$/', '$1-$2', until($length)) : 'permanent') .
|
||||||
' ban on ' .
|
' ban on ' .
|
||||||
($board ? '/' . $board . '/' : 'all boards') .
|
($ban_board ? '/' . $ban_board . '/' : 'all boards') .
|
||||||
' for ' .
|
' for ' .
|
||||||
(filter_var($mask, FILTER_VALIDATE_IP) !== false ? "<a href=\"?/IP/$mask\">$mask</a>" : $mask) .
|
(filter_var($mask, FILTER_VALIDATE_IP) !== false ? "<a href=\"?/IP/$mask\">$mask</a>" : $mask) .
|
||||||
' (<small>#' . $pdo->lastInsertId() . '</small>)' .
|
' (<small>#' . $pdo->lastInsertId() . '</small>)' .
|
||||||
|
Loading…
Reference in New Issue
Block a user