noalyss-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Noalyss-commit] [noalyss] 17/33: Cosmetic bug : if no rows found , thro


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 17/33: Cosmetic bug : if no rows found , throw a warning
Date: Thu, 11 Nov 2021 06:02:47 -0500 (EST)

sparkyx pushed a commit to branch master
in repository noalyss.

commit fa530b7b0ee579335009421b85b5e24cc405c7a2
Author: sparkyx <danydb@noalyss.eu>
AuthorDate: Mon Oct 11 10:21:00 2021 +0200

    Cosmetic bug : if no rows found , throw a warning
---
 include/template/anticipation-display.php | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/include/template/anticipation-display.php 
b/include/template/anticipation-display.php
index c4cdb79..f5c8fdd 100644
--- a/include/template/anticipation-display.php
+++ b/include/template/anticipation-display.php
@@ -182,12 +182,13 @@ echo nbm( $diff);
 <td>
 <?php echo _('Diff. cumul.'); $cum=0.0; ?>
 </td>
+<?php $strColorCell="";?>
 <?php for ($h=0;$h<count($aPeriode);$h++):?>
 
 <?php
     $diff= bcsub($aReal[$i][$e][$h],$estm[$i][$e][$h]);
 $cum=bcadd($diff,$cum);
-$strColorCell="";
+
 if ($cum ==0)
   {
       $strColorCell= '<td style="text-align:right;">';



reply via email to

[Prev in Thread] Current Thread [Next in Thread]