adldap / adLDAP

adLDAP is a PHP class that provides LDAP authentication and integration with Active Directory.
GNU Lesser General Public License v2.1
424 stars 204 forks source link

Fix for issue #127 - need to review/check the solution #129

Closed hNczy closed 7 years ago

hNczy commented 7 years ago

My solution is for this problem, is

for ($i = 0; $i <= $attributes[$key]['count']; $i++) { //original line 52
for ($i = 0; $i < $attributes[$key]['count']; $i++) { //delete the "=" sign

but i not sure this is general solution. So please check it! Thanks!

hNczy commented 7 years ago

Ohh, see this moment is same with the https://github.com/adldap/adLDAP/pull/93/commits/9cbd9c07863d710c5a9770bd92456b36bbbafb39 .