mirror of
https://github.com/kleeja-official/kleeja.git
synced 2025-12-15 20:49:41 +01:00
Update k_ban.php
This commit is contained in:
@@ -41,7 +41,7 @@ $result = $SQL->build($query);
|
||||
$current_ban_data = $SQL->fetch_array($result);
|
||||
$SQL->freeresult($result);
|
||||
|
||||
$banned_items = explode('|', $current_ban_data['ban']);
|
||||
$banned_items = ! empty($current_ban_data['ban']) ? explode('|', $current_ban_data['ban']) : [];
|
||||
|
||||
$show_message = false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user