aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@owncloud.com>2014-04-09 12:25:48 +0200
committerArthur Schiwon <blizzz@owncloud.com>2014-04-09 12:25:48 +0200
commitdbebf6bb5e94615ef8986b812e2ea6ac14862a3f (patch)
treeadadfd22624332575059258f08108a2bc3ab4354 /apps
parent4230983e69906de916c73e06204ff87df72bfce9 (diff)
downloadnextcloud-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.php1
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));