From dbebf6bb5e94615ef8986b812e2ea6ac14862a3f Mon Sep 17 00:00:00 2001 From: Arthur Schiwon Date: Wed, 9 Apr 2014 12:25:48 +0200 Subject: add comment to clearify when a skip in the foreach happens --- apps/user_ldap/lib/wizard.php | 1 + 1 file changed, 1 insertion(+) (limited to 'apps/user_ldap/lib/wizard.php') diff --git a/apps/user_ldap/lib/wizard.php b/apps/user_ldap/lib/wizard.php index 54454d2ad22..3854af617c1 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)); -- cgit v1.2.3