From 386d6ab83bb316c9b502ce2d6d56293e19a78e56 Mon Sep 17 00:00:00 2001 From: Deon George Date: Sun, 12 Dec 2021 13:25:28 +1100 Subject: [PATCH] Fix syntax error created by a0de69b - thanks to Bert Van de Poel for testing this and identifying the error --- lib/ds_ldap_pla.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/ds_ldap_pla.php b/lib/ds_ldap_pla.php index afa7a12..fdc8048 100644 --- a/lib/ds_ldap_pla.php +++ b/lib/ds_ldap_pla.php @@ -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;