diff --git a/phpgwapi/inc/class.accounts_sql.inc.php b/phpgwapi/inc/class.accounts_sql.inc.php index 4f8738f7f0..9004d7564a 100644 --- a/phpgwapi/inc/class.accounts_sql.inc.php +++ b/phpgwapi/inc/class.accounts_sql.inc.php @@ -127,7 +127,7 @@ $sql = "SELECT * FROM phpgw_accounts $whereclause $orderclause"; if ($offset) { - $this->db->limit_query($sql,$start,__LINE__,__FILE__); + $this->db->limit_query($sql,$start,__LINE__,__FILE__,$offset); } elseif ($start) {