Update k_ban.php

This commit is contained in:
Hani Rouatbi
2022-08-21 11:19:29 +01:00
committed by GitHub
parent 219f49fddc
commit dd25fcb658

View File

@@ -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;