From 9962ac3197a34c704a03a3ebc87d4f7ad9a7abcb Mon Sep 17 00:00:00 2001 From: ralf Date: Thu, 30 Jun 2022 16:16:20 +0200 Subject: [PATCH] fix Unsupported operand types: array + bool --- setup/inc/class.setup_cmd_ldap.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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