Reset the $row array each time through.

This commit is contained in:
Andrew McMillan 2009-10-30 19:06:00 +13:00
parent 526d4dce6f
commit e02514cd46

View File

@ -135,7 +135,7 @@ class ldapDrivers
join(', ', $attributes), join(', ', $attributes),
$baseDNUsers); $baseDNUsers);
} }
$row = array();
for($i = ldap_first_entry($this->connect,$entry); for($i = ldap_first_entry($this->connect,$entry);
$i && $arr = ldap_get_attributes($this->connect,$i); $i && $arr = ldap_get_attributes($this->connect,$i);
$i = ldap_next_entry($this->connect,$i) ) { $i = ldap_next_entry($this->connect,$i) ) {