From f987e9b3c73d6903c96b0f91513b1c24b3c0cc94 Mon Sep 17 00:00:00 2001 From: Dany De Bontridder Date: Sun, 8 Sep 2019 14:24:44 +0200 Subject: [PATCH] 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 cf0181a13..0dff0148d 100644 --- a/include/verif_bilan.inc.php +++ b/include/verif_bilan.inc.php @@ -73,8 +73,6 @@ if ( $jrn ===false ) { echo ''; 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++) {