From b57f3a3f36a116bce2bf97c48ec3da4281eb9163 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 6 Jun 2018 18:41:35 +0200 Subject: [PATCH] Fix bug reported by scrutinizer --- htdocs/compta/localtax/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/compta/localtax/index.php b/htdocs/compta/localtax/index.php index a0c5bd7709d..c62034ee65c 100644 --- a/htdocs/compta/localtax/index.php +++ b/htdocs/compta/localtax/index.php @@ -137,7 +137,7 @@ function pt($db, $sql, $date) if ($obj->mode == 'paid') { $amountpaid = $obj->mm; - $totalpaid = $totalpaid + $amountpaied; + $totalpaid = $totalpaid + $amountpaid; } if ($obj->mode == 'paid')