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 +?>