From 0ce660fbb23d3e941f4254d23afe0a03d2525cd4 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 25 Jun 2005 23:12:05 +0000 Subject: [PATCH] =?UTF-8?q?Fix:=20Le=20test=20pour=20=E9viter=20un=20total?= =?UTF-8?q?=20faut=20quand=20plusieurs=20page=20ne=20fonctionnait=20pas.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/compta/facture.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/compta/facture.php b/htdocs/compta/facture.php index 3dac236fbdf..5e535048d8a 100644 --- a/htdocs/compta/facture.php +++ b/htdocs/compta/facture.php @@ -1768,7 +1768,7 @@ else $i++; } - if ($num <= $limit) { + if (($offset + $num) <= $limit) { // Print total print ''; print ''.$langs->trans("Total").'';