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 77a3d0ed32
commit f16cfd45fe

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