Browse Source

bugfix: bans

pull/40/head
Michael Foster 11 years ago
parent
commit
cff15bd765
  1. 2
      inc/bans.php

2
inc/bans.php

@ -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…
Cancel
Save