Skip to content

Commit

Permalink
Fixed elseif typo
Browse files Browse the repository at this point in the history
  • Loading branch information
JoelGilliland committed Mar 20, 2014
1 parent 513ca12 commit c3b2c37
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/ZfcUserLdap/Authentication/Adapter/LdapAuth.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,8 @@ public function authenticate(AuthEvent $e)
}

if ($userDbObject === false) {
$userObject = $this->getMapper ()->updateDb ($ldapObj, null);
} elseif {
($zulConfig['auto_insertion']['auto_update'])
$userObject = $this->getMapper()->updateDb($ldapObj, null);
} elseif ($zulConfig['auto_insertion']['auto_update']) {
$userObject = $this->getMapper()->updateDb($ldapObj, $userDbObject);
} else {
$userObject = $userDbObject;
Expand Down

0 comments on commit c3b2c37

Please sign in to comment.