fix Unsupported operand types: array + bool

This commit is contained in:
ralf 2022-06-30 16:16:20 +02:00
parent 970c22b2a2
commit 9962ac3197

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')
{