diff options
author | Arthur Schiwon <blizzz@owncloud.com> | 2014-04-09 12:25:48 +0200 |
---|---|---|
committer | Arthur Schiwon <blizzz@owncloud.com> | 2014-04-09 12:25:48 +0200 |
commit | dbebf6bb5e94615ef8986b812e2ea6ac14862a3f (patch) | |
tree | adadfd22624332575059258f08108a2bc3ab4354 /apps | |
parent | 4230983e69906de916c73e06204ff87df72bfce9 (diff) | |
download | nextcloud-server-dbebf6bb5e94615ef8986b812e2ea6ac14862a3f.tar.gz nextcloud-server-dbebf6bb5e94615ef8986b812e2ea6ac14862a3f.zip |
add comment to clearify when a skip in the foreach happens
Diffstat (limited to 'apps')
-rw-r--r-- | apps/user_ldap/lib/wizard.php | 1 |
1 files changed, 1 insertions, 0 deletions
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)); |