From 5ec1a7cbbe8ed96218b07e2ee77f08cc8be098f5 Mon Sep 17 00:00:00 2001 From: Jan Schneider Date: Fri, 17 Sep 2010 14:25:14 +0200 Subject: [PATCH] Fix for-call. --- framework/Ldap/lib/Horde/Ldap/Entry.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/framework/Ldap/lib/Horde/Ldap/Entry.php b/framework/Ldap/lib/Horde/Ldap/Entry.php index 001fd8d93..cc094eb9b 100644 --- a/framework/Ldap/lib/Horde/Ldap/Entry.php +++ b/framework/Ldap/lib/Horde/Ldap/Entry.php @@ -287,7 +287,8 @@ class Horde_Ldap_Entry /* Fetch attributes. */ $attributes = array(); for ($attr = @ldap_first_attribute($this->_link, $this->_entry, $ber); - $attr = @ldap_next_attribute($this->_link, $this->_entry, $ber);) { + $attr; + $attr = @ldap_next_attribute($this->_link, $this->_entry, $ber)) { /* Standard function to fetch value. */ $func = 'ldap_get_values'; -- 2.11.0