Skip to content
This repository has been archived by the owner on Jan 29, 2020. It is now read-only.

Commit

Permalink
Merge pull request zendframework/zendframework#4420 from sasezaki/hot…
Browse files Browse the repository at this point in the history
…fix/ZF-11002

sync svn r23693 - [ZF-11002] ehancement implemented as proposed
  • Loading branch information
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Adapter/Ldap.php
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,9 @@ public function getAccountObject(array $returnAttribs = array(), array $omitAttr

$returnObject = new stdClass();

$omitAttribs = array_map('strtolower', $omitAttribs);
$returnAttribs = array_map('strtolower', $returnAttribs);
$omitAttribs = array_map('strtolower', $omitAttribs);
$returnAttribs = array_diff($returnAttribs, $omitAttribs);

$entry = $this->getLdap()->getEntry($this->authenticatedDn, $returnAttribs, true);
foreach ($entry as $attr => $value) {
Expand Down

0 comments on commit 77d0511

Please sign in to comment.