From 8ca6935f8b00cde18544fcdcf14278d8f19b54ac Mon Sep 17 00:00:00 2001 From: Cristian Torres Date: Tue, 19 Feb 2019 11:37:46 -0600 Subject: [PATCH] [FIX] Variable $i is already declared It was preventing displaying of the other accounts --- htdocs/compta/resultat/clientfourn.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/compta/resultat/clientfourn.php b/htdocs/compta/resultat/clientfourn.php index ee94b4ab5fc..f25a6baf87a 100644 --- a/htdocs/compta/resultat/clientfourn.php +++ b/htdocs/compta/resultat/clientfourn.php @@ -301,7 +301,7 @@ if ($modecompta == 'BOOKKEEPING') // Get cpts of category/group $cpts = $AccCat->getCptsCat(0, $tmppredefinedgroupwhere); - foreach($cpts as $i => $cpt) + foreach($cpts as $j => $cpt) { $return = $AccCat->getSumDebitCredit($cpt['account_number'], $date_start, $date_end, $cpt['dc']); if ($return < 0) {