fix Unsupported operand types: array + bool

This commit is contained in:
ralf 2022-06-30 16:16:20 +02:00
parent b813f403a7
commit d50c14b5ed

View File

@ -775,7 +775,7 @@ class setup_cmd_ldap extends setup_cmd
{
$account_id = $account['account_id'];
}
$account += $accounts_obj->read($account_id);
$account += $accounts_obj->read($account_id) ?: [];
if ($account['account_type'] == 'g')
{
@ -1130,4 +1130,4 @@ class setup_cmd_ldap extends setup_cmd
}
}
}
}
}