diff --git a/htdocs/expensereport/list.php b/htdocs/expensereport/list.php index 0974ce0f31c..58002c19dba 100644 --- a/htdocs/expensereport/list.php +++ b/htdocs/expensereport/list.php @@ -88,10 +88,10 @@ if ($page == -1) { $page = 0 ; } -$limit = $conf->liste_limit; -$offset = $limit * $page; +$offset = $conf->liste_limit * $page; $pageprev = $page - 1; $pagenext = $page + 1; +$limit = $conf->liste_limit; $sql = "SELECT d.rowid, d.ref, d.fk_user_author, d.total_ht, d.total_tva, d.total_ttc, d.fk_statut as status,"; $sql.= " d.date_debut, d.date_fin,"; @@ -219,7 +219,7 @@ if ($resql) print '