From 2c04a480a23b1216a27d8da97f5a9fbd286a7120 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 4 Jun 2019 02:31:19 +0200 Subject: [PATCH] Fix phpcs --- htdocs/compta/stats/index.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/htdocs/compta/stats/index.php b/htdocs/compta/stats/index.php index 64d115b6b4a..cd17fbba233 100644 --- a/htdocs/compta/stats/index.php +++ b/htdocs/compta/stats/index.php @@ -388,11 +388,10 @@ for ($mois = 1+$nb_mois_decalage ; $mois <= 12+$nb_mois_decalage ; $mois++) } if ($annee_decalage < $year_end || ($annee_decalage == $year_end && $mois > 12 && $annee < $year_end)) print ' '; - } - $total_ht[$annee]+=!empty($cum_ht[$case]) ? $cum_ht[$case] : 0; - $total[$annee]+=$cum[$case]; + $total_ht[$annee] += ((! empty($cum_ht[$case])) ? $cum_ht[$case] : 0); + $total[$annee] += $cum[$case]; } print '';