bans.php: surpress error
This commit is contained in:
parent
948695e73c
commit
ef3bb46876
@ -181,7 +181,7 @@ class Bans {
|
||||
$ban['username'] = '?';
|
||||
}
|
||||
if ($filter_ips || ($board_access !== false && !in_array($ban['board'], $board_access))) {
|
||||
list($ban['mask'], $subnet) = explode("/", $ban['mask']);
|
||||
@list($ban['mask'], $subnet) = explode("/", $ban['mask']);
|
||||
$ban['mask'] = preg_split("/[\.:]/", $ban['mask']);
|
||||
$ban['mask'] = array_slice($ban['mask'], 0, 2);
|
||||
$ban['mask'] = implode(".", $ban['mask']);
|
||||
|
Loading…
Reference in New Issue
Block a user