Fix read to use correct db object for setting contact_value from db

This commit is contained in:
Miles Lott 2001-03-22 02:56:37 +00:00
parent 4df94e35d2
commit f0fdf157dc

View File

@ -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;