Fix for-call.
authorJan Schneider <jan@horde.org>
Fri, 17 Sep 2010 12:25:14 +0000 (14:25 +0200)
committerJan Schneider <jan@horde.org>
Fri, 17 Sep 2010 12:29:19 +0000 (14:29 +0200)
framework/Ldap/lib/Horde/Ldap/Entry.php

index 001fd8d..cc094eb 100644 (file)
@@ -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';