Skip to content
Snippets Groups Projects
Commit e4725f42 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

FIX #7933

parent 6de3a405
Branches 4.0
No related tags found
No related merge requests found
...@@ -925,7 +925,7 @@ while ($i < min($num, $limit)) ...@@ -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>';
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment