From a0ecb8dbd97f8ed56ed4535a36950746738962f2 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 24 Jan 2004 18:09:24 +0000 Subject: [PATCH] =?UTF-8?q?Un=20mauvais=20placement=20d'une=20ligne=20de?= =?UTF-8?q?=20commande=20faisait=20que=20l'=E9tat=20des=20"cumuls"=20ne=20?= =?UTF-8?q?cumulait=20rien.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/compta/stats/cumul.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/htdocs/compta/stats/cumul.php b/htdocs/compta/stats/cumul.php index 0b7366c5455..902549d663d 100644 --- a/htdocs/compta/stats/cumul.php +++ b/htdocs/compta/stats/cumul.php @@ -106,9 +106,10 @@ function pt ($db, $sql, $date) { $obj = $db->fetch_object( $i); $var=!$var; + $total = $total + $obj->amount; print ""; print "$obj->dm\n"; - print "".price($obj->amount)." \n"; + print "".$total." \n"; print "\n"; $total = $total + $obj->amount;