forked from extern/egroupware
fix Unsupported operand types: array + bool
This commit is contained in:
parent
970c22b2a2
commit
9962ac3197
@ -775,7 +775,7 @@ class setup_cmd_ldap extends setup_cmd
|
|||||||
{
|
{
|
||||||
$account_id = $account['account_id'];
|
$account_id = $account['account_id'];
|
||||||
}
|
}
|
||||||
$account += $accounts_obj->read($account_id);
|
$account += $accounts_obj->read($account_id) ?: [];
|
||||||
|
|
||||||
if ($account['account_type'] == 'g')
|
if ($account['account_type'] == 'g')
|
||||||
{
|
{
|
||||||
@ -1130,4 +1130,4 @@ class setup_cmd_ldap extends setup_cmd
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user