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

Commit

Permalink
Merge branch 'hotfix/4420' into develop
Browse files Browse the repository at this point in the history
  • 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 4829cce

Please sign in to comment.