From da585d4fdfbe28c26e8c5e42c637984f548d1db3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20M=C3=BCller?= <1005065+DeepDiver1975@users.noreply.github.com> Date: Tue, 10 Oct 2023 19:05:26 +0200 Subject: [PATCH] fix: class IntegrationTestAccessGroupsMatchFilter --- lib/LDAP.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/LDAP.php b/lib/LDAP.php index 5b546629..49faf705 100644 --- a/lib/LDAP.php +++ b/lib/LDAP.php @@ -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); }