Fix comparison in the ldap app
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
1e2de86c3a
commit
45e2c415d4
|
@ -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 . ')';
|
||||
|
|
Loading…
Reference in New Issue