noalyss-commit
[Top][All Lists]
Advanced

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

[Noalyss-commit] [noalyss] 08/19: verif_bil : fetch_all return false or


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 08/19: verif_bil : fetch_all return false or an array, comptability PHP7
Date: Mon, 9 Sep 2019 13:54:58 -0400 (EDT)

sparkyx pushed a commit to branch master
in repository noalyss.

commit f987e9b3c73d6903c96b0f91513b1c24b3c0cc94
Author: Dany De Bontridder <address@hidden>
Date:   Sun Sep 8 14:24:44 2019 +0200

    verif_bil : fetch_all return false or an array, comptability PHP7
---
 include/verif_bilan.inc.php | 2 --
 1 file changed, 2 deletions(-)

diff --git a/include/verif_bilan.inc.php b/include/verif_bilan.inc.php
index cf0181a..0dff014 100644
--- a/include/verif_bilan.inc.php
+++ b/include/verif_bilan.inc.php
@@ -73,8 +73,6 @@ if ( $jrn ===false  ) {
 echo '<table class="result">';
 echo tr(th(_('Journal')).th(_('Débit'),' 
style="display:right"').th(_("Crédit"),' 
style="display:right"').th(_("Différence"),' style="display:right"').th(''));
 
-$nb_jrn=count($jrn);
-if ( $jrn === false) $nb_jrn=0;
 $ix=0;
 for ($i=0;$i<$nb_jrn;$i++)
 {



reply via email to

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