This commit is contained in:
Laurent Destailleur 2017-12-10 20:55:51 +01:00
parent 6de3a40546
commit e4725f4248

View File

@ -925,7 +925,7 @@ while ($i < min($num, $limit))
if (! empty($arrayfields['typent.code']['checked'])) if (! empty($arrayfields['typent.code']['checked']))
{ {
print '<td align="center">'; print '<td align="center">';
if (count($typenArray)==0) $typenArray = $formcompany->typent_array(1); if (! is_array($typenArray) || count($typenArray)==0) $typenArray = $formcompany->typent_array(1);
print $typenArray[$obj->typent_code]; print $typenArray[$obj->typent_code];
print '</td>'; print '</td>';
} }