pear / Net_LDAP2

Object oriented interface for searching and manipulating LDAP-entries
http://pear.php.net/package/Net_LDAP2
GNU Lesser General Public License v3.0
10 stars 6 forks source link

fix: remove unused $ber property #5

Closed pimlie closed 1 year ago

pimlie commented 1 year ago

Since PHP v8.0.0 the $ber property is no longer accepted and causes the following error to be thrown:

PHP message: PHP Fatal error:  Uncaught ArgumentCountError: ldap_first_attribute() expects exactly 2 arguments, 3 given in /var/www/html/vendor/pear/net_ldap2/Net/LDAP2/Entry.php:367

See https://www.php.net/manual/en/function.ldap-first-attribute.php

hbeni commented 1 year ago

Thx for the Patch