fix php warning : count parameters must be countable

This commit is contained in:
florian HENRY 2020-08-20 16:39:14 +02:00
parent 3281d5ec17
commit 0453dd8f09

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']++;