mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 17:14:36 +01:00
Add filters to sql.
This commit is contained in:
parent
9505b365d6
commit
ab86478263
@ -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 @@
|
||||
}
|
||||
|
||||
}
|
||||
?>
|
||||
?>
|
||||
|
Loading…
Reference in New Issue
Block a user