forked from extern/egroupware
allow to filter by multiple account_id/uidNumber
This commit is contained in:
parent
45d2e21883
commit
caad687406
@ -933,8 +933,12 @@ class Ldap
|
||||
}
|
||||
elseif ($value)
|
||||
{
|
||||
$filters .= '(uidNumber='.Api\Ldap::quote($value).')';
|
||||
|
||||
if (is_array($value)) $filters .= '(|';
|
||||
foreach((array)$value as $value)
|
||||
{
|
||||
$filters .= '(uidNumber='.(int)$value.')';
|
||||
}
|
||||
if (is_array($value)) $filters .= ')';
|
||||
}
|
||||
break;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user