Skip to content
This repository has been archived by the owner on Jul 24, 2023. It is now read-only.

Commit

Permalink
Merged pull
Browse files Browse the repository at this point in the history
  • Loading branch information
stevebauman committed Apr 15, 2015
1 parent 1cdb4e0 commit e1a8afc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Adldap/Classes/AdldapGroups.php
Original file line number Diff line number Diff line change
Expand Up @@ -578,7 +578,7 @@ public function search($sAMAaccountType = Adldap::ADLDAP_SECURITY_GLOBAL_GROUP,

for ($i = 0; $i < $entries["count"]; $i++)
{
if ($includeDescription && strlen($entries[$i]["description"][0]) > 0 )
if ($includeDescription && ! empty($entries[$i]["description"][0]))
{
$groupsArray[$entries[$i]["samaccountname"][0]] = $entries[$i]["description"][0];
}
Expand Down

0 comments on commit e1a8afc

Please sign in to comment.