add comment to clearify when a skip in the foreach happens

This commit is contained in:
Arthur Schiwon 2014-04-09 12:25:48 +02:00
parent 4230983e69
commit dbebf6bb5e
1 changed files with 1 additions and 0 deletions

View File

@ -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));