Merge pull request #14514 from FHenry/develop

fix php warning : count parameters must be countable
This commit is contained in:
Laurent Destailleur 2020-08-23 18:22:35 +02:00 committed by GitHub
commit 55c0c1d734
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1124,7 +1124,7 @@ if ($resql)
if (!empty($arrayfields['typent.code']['checked']))
{
print '<td class="center">';
if (count($typenArray) == 0) $typenArray = $formcompany->typent_array(1);
if (empty($typenArray)) $typenArray = $formcompany->typent_array(1);
print $typenArray[$obj->typent_code];
print '</td>';
if (!$i) $totalarray['nbfield']++;