Skip to content

Commit

Permalink
fix: class IntegrationTestAccessGroupsMatchFilter
Browse files Browse the repository at this point in the history
  • Loading branch information
DeepDiver1975 committed Feb 29, 2024
1 parent edf185e commit da585d4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/LDAP.php
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,12 @@ public function isResource($resource) {
if ($resource instanceof \LDAP\Connection) {
return true;
}
if ($resource instanceof \LDAP\Result) {
return true;
}
if ($resource instanceof \LDAP\ResultEntry) {
return true;
}
return \is_resource($resource);
}

Expand Down

0 comments on commit da585d4

Please sign in to comment.