From ab86478263506f3b77fea00a8954fd9dba9da86b Mon Sep 17 00:00:00 2001 From: Miles Lott Date: Thu, 25 Jan 2001 07:07:04 +0000 Subject: [PATCH] Add filters to sql. --- phpgwapi/inc/class.contacts.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/phpgwapi/inc/class.contacts.inc.php b/phpgwapi/inc/class.contacts.inc.php index 112bd09b68..7b42575a2e 100644 --- a/phpgwapi/inc/class.contacts.inc.php +++ b/phpgwapi/inc/class.contacts.inc.php @@ -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 @@ } } -?> \ No newline at end of file +?>