diff --git a/phpgwapi/inc/class.contacts_sql.inc.php b/phpgwapi/inc/class.contacts_sql.inc.php index 9d99356868..e8c087e1dd 100644 --- a/phpgwapi/inc/class.contacts_sql.inc.php +++ b/phpgwapi/inc/class.contacts_sql.inc.php @@ -504,7 +504,7 @@ if ($start && $limit) { - $this->db->limit_query($sql,array($start,$limit),__LINE__,__FILE__); + $this->db->limit_query($sql,$start,__LINE__,__FILE__,$limit); } elseif (!$limit) {