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

Commit

Permalink
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 a6f33f5

Please # to comment.