diff --git a/apps/user_ldap/lib/wizard.php b/apps/user_ldap/lib/wizard.php index 54454d2ad22f1c7e945ed6ae3ecd211afd8dfc73..3854af617c11afaa21548d1f178e019dfb8d2077 100644 --- a/apps/user_ldap/lib/wizard.php +++ b/apps/user_ldap/lib/wizard.php @@ -895,6 +895,7 @@ class Wizard extends LDAPUtility { } foreach($filters as $filter) { if($lfw && $lastFilter === $filter && count($foundItems) > 0) { + //skip when the filter is a wildcard and results were found continue; } $rr = $this->ldap->search($cr, $base, $filter, array($attr));