diff options
author | Joas Schilling <coding@schilljs.com> | 2017-05-10 14:06:01 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2017-08-01 13:56:12 +0200 |
commit | 45e2c415d4ff066d579ab133be4f15453c07b242 (patch) | |
tree | ee517dae7dff4e9001f0ff0abed016ae5a0e0bc0 | |
parent | 1e2de86c3ada8599cf6999abc1b1223d2d886430 (diff) | |
download | nextcloud-server-45e2c415d4ff066d579ab133be4f15453c07b242.tar.gz nextcloud-server-45e2c415d4ff066d579ab133be4f15453c07b242.zip |
Fix comparison in the ldap app
Signed-off-by: Joas Schilling <coding@schilljs.com>
-rw-r--r-- | apps/user_ldap/lib/Wizard.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/user_ldap/lib/Wizard.php b/apps/user_ldap/lib/Wizard.php index dfbde31314e..f6b78208fd2 100644 --- a/apps/user_ldap/lib/Wizard.php +++ b/apps/user_ldap/lib/Wizard.php @@ -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 . ')'; |