Merge pull request #10637 from tony13tv/patch-1
[FIX] Variable $i is already declared
This commit is contained in:
commit
59218de7de
@ -301,7 +301,7 @@ if ($modecompta == 'BOOKKEEPING')
|
|||||||
// Get cpts of category/group
|
// Get cpts of category/group
|
||||||
$cpts = $AccCat->getCptsCat(0, $tmppredefinedgroupwhere);
|
$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']);
|
$return = $AccCat->getSumDebitCredit($cpt['account_number'], $date_start, $date_end, $cpt['dc']);
|
||||||
if ($return < 0) {
|
if ($return < 0) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user