Fix syntax error created by a0de69b - thanks to Bert Van de Poel for testing this and identifying the error

This commit is contained in:
Deon George 2021-12-12 13:25:28 +11:00
parent 1d26d435c2
commit 386d6ab83b

View File

@ -608,6 +608,7 @@ class ldap_pla extends ldap {
foreach ($attrs[$attr] as $val)
if ($val)
$query['filter'] .= sprintf('(%s=%s)',$attr,$val);
}
$query['filter'] .= ')';
$query['attrs'] = $checkattrs;