From e02514cd46b2dfb4e457bd9949d65e07987c4285 Mon Sep 17 00:00:00 2001 From: Andrew McMillan Date: Fri, 30 Oct 2009 19:06:00 +1300 Subject: [PATCH] Reset the $row array each time through. --- inc/drivers_ldap.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/drivers_ldap.php b/inc/drivers_ldap.php index a4f82da0..392ceb73 100644 --- a/inc/drivers_ldap.php +++ b/inc/drivers_ldap.php @@ -135,7 +135,7 @@ class ldapDrivers join(', ', $attributes), $baseDNUsers); } - + $row = array(); for($i = ldap_first_entry($this->connect,$entry); $i && $arr = ldap_get_attributes($this->connect,$i); $i = ldap_next_entry($this->connect,$i) ) {