From 321a919fb1801bb5065763828edefd60299b56e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20FRANCE?= Date: Thu, 14 Mar 2019 16:42:35 +0100 Subject: [PATCH] Update result.php --- htdocs/compta/resultat/result.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/htdocs/compta/resultat/result.php b/htdocs/compta/resultat/result.php index 59984ee444c..f505b97a5fc 100644 --- a/htdocs/compta/resultat/result.php +++ b/htdocs/compta/resultat/result.php @@ -289,12 +289,12 @@ elseif ($modecompta=="BOOKKEEPING") $sommes = array(); $totPerAccount = array(); if (!is_array($cats) && $cats<0) { - setEventMessages(null,$AccCat->errors,'errors'); + setEventMessages(null, $AccCat->errors, 'errors'); } elseif (is_array($cats) && count($cats)>0) { - foreach ($cats as $cat) // Loop on each group - { - if (!empty($cat['category_type'])) // category calculed - { + foreach ($cats as $cat) { + // Loop on each group + if (!empty($cat['category_type'])) { + // category calculed // When we enter here, $sommes was filled by group of accounts $formula = $cat['formula'];