verif_bil : fetch_all return false or an array, comptability PHP7

This commit is contained in:
Dany De Bontridder 2019-09-08 14:24:44 +02:00
parent 1423b77e27
commit f987e9b3c7

View file

@ -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++)
{