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 "