Merge pull request #10836 from frederic34/patch-5

phpcs fix
This commit is contained in:
Laurent Destailleur 2019-03-14 16:47:16 +01:00 committed by GitHub
commit 09d015c14c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 7 deletions

View File

@ -291,10 +291,10 @@ elseif ($modecompta=="BOOKKEEPING")
if (! is_array($cats) && $cats < 0) { if (! is_array($cats) && $cats < 0) {
setEventMessages(null, $AccCat->errors, 'errors'); setEventMessages(null, $AccCat->errors, 'errors');
} elseif (is_array($cats) && count($cats)>0) { } elseif (is_array($cats) && count($cats)>0) {
foreach ($cats as $cat) // Loop on each group foreach ($cats as $cat) {
{ // Loop on each group
if (!empty($cat['category_type'])) // category calculed if (!empty($cat['category_type'])) {
{ // category calculed
// When we enter here, $sommes was filled by group of accounts // When we enter here, $sommes was filled by group of accounts
$formula = $cat['formula']; $formula = $cat['formula'];