This addresses PHP 8.1 compatibilty issues with the LDAP plugin. Since the LDAP resources were converted to LDAP\Connection, LDAP\Result, and LDAP\ResultEntry objects respectively, the previous is_resource() checks fail. This updates all relevant cases of is_resource() to !== false checks to make LDAP plugin compatible with PHP 8.1.
This addresses PHP 8.1 compatibilty issues with the LDAP plugin. Since the LDAP resources were converted to LDAP\Connection, LDAP\Result, and LDAP\ResultEntry objects respectively, the previous
is_resource()
checks fail. This updates all relevant cases ofis_resource()
to!== false
checks to make LDAP plugin compatible with PHP 8.1.