Fix PHP 8.3 array_key_exists null fatal in game monitor
Agent-Logs-Url: https://github.com/GameServerPanel/GSP/sessions/9fb7c34b-5560-4acf-99ee-3c0cf49e2473 Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
This commit is contained in:
parent
50ebc92a6a
commit
0f975350ef
1 changed files with 3 additions and 0 deletions
|
|
@ -32,6 +32,9 @@ require_once('includes/lib_remote.php');
|
|||
function renderParam($param, $last_param, $param_access_enabled, $home_id)
|
||||
{
|
||||
global $db;
|
||||
if (!is_array($last_param)) {
|
||||
$last_param = [];
|
||||
}
|
||||
$isAdmin = $db->isAdmin($_SESSION['user_id']);
|
||||
$attributesString = "";
|
||||
foreach ($param->attribute as $attribute)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue