Fix comparison in the ldap app

Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
Joas Schilling 2017-05-10 14:06:01 +02:00 committed by Morris Jobke
parent 1e2de86c3a
commit 45e2c415d4
1 changed files with 1 additions and 1 deletions

View File

@ -905,7 +905,7 @@ class Wizard extends LDAPUtility {
$er = $this->ldap->firstEntry($cr, $rr);
$attrs = $this->ldap->getAttributes($cr, $er);
$dn = $this->ldap->getDN($cr, $er);
if ($dn == false || $dn === '') {
if ($dn === false || $dn === '') {
continue;
}
$filterPart = '(memberof=' . $dn . ')';