Add filters to sql.

This commit is contained in:
Miles Lott 2001-01-25 07:07:04 +00:00
parent 9505b365d6
commit ab86478263

View File

@ -74,7 +74,7 @@
$this->db2 = $this->db; // Create new result object before our query
$this->db->query("select ab_id,ab_owner,ab_access $t_fields from addressbook "
. $this->db->limit($start,$offset),__LINE__,__FILE__);
. $filters . $this->db->limit($start,$offset),__LINE__,__FILE__);
while ($this->db->next_record()) {
$return_fields[$i]["id"] = $this->db->f("ab_id");
$return_fields[$i]["owner"] = $this->db->f("ab_owner");
@ -213,4 +213,4 @@
}
}
?>
?>