diff --git a/setup/inc/class.setup_cmd_ldap.inc.php b/setup/inc/class.setup_cmd_ldap.inc.php index 43e95d5f72..b178617ec2 100644 --- a/setup/inc/class.setup_cmd_ldap.inc.php +++ b/setup/inc/class.setup_cmd_ldap.inc.php @@ -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 } } } -} +} \ No newline at end of file