fix PHP TypeError: implode(): Argument #2 ($array) must be of type ?array, int given

This commit is contained in:
ralf 2023-06-07 20:05:14 +02:00
parent 66d0db0b85
commit 956d56f450

View File

@ -819,7 +819,7 @@ class Ldap
// only return given account_id's
if (!empty($param['account_id']))
{
$filter .= '(|(uidNumber=' . implode(')(uidNumber=', $param['account_id']) . '))';
$filter .= '(|(uidNumber=' . implode(')(uidNumber=', (array)$param['account_id']) . '))';
}
if (!empty($param['modified']))
{