From f0fdf157dc743371dc3a81a1dd945943aa2ea8e2 Mon Sep 17 00:00:00 2001 From: Miles Lott Date: Thu, 22 Mar 2001 02:56:37 +0000 Subject: [PATCH] Fix read to use correct db object for setting contact_value from db --- addressbook/inc/class.contacts_ldap.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addressbook/inc/class.contacts_ldap.inc.php b/addressbook/inc/class.contacts_ldap.inc.php index 4ec0ca4f17..fab4f29359 100644 --- a/addressbook/inc/class.contacts_ldap.inc.php +++ b/addressbook/inc/class.contacts_ldap.inc.php @@ -206,7 +206,7 @@ // If its not in the list to be returned, don't return it. // This is still quicker then 5(+) separate queries if ($extra_fields[$this->db->f("contact_name")]) { - $return_fields[0][$this->db->f("contact_name")] = $this->db2->f("contact_value"); + $return_fields[0][$this->db->f("contact_name")] = $this->db->f("contact_value"); } } return $return_fields;