Update list.php

This commit is contained in:
Laurent Destailleur 2022-11-12 12:07:51 +01:00 committed by GitHub
parent 1650fe9ef8
commit f3938a41a5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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