diff --git a/htdocs/commande/list.php b/htdocs/commande/list.php index 7ed5fe6e919..300736dc69b 100644 --- a/htdocs/commande/list.php +++ b/htdocs/commande/list.php @@ -1124,7 +1124,7 @@ if ($resql) if (!empty($arrayfields['typent.code']['checked'])) { print ''; - if (count($typenArray) == 0) $typenArray = $formcompany->typent_array(1); + if (empty($typenArray)) $typenArray = $formcompany->typent_array(1); print $typenArray[$obj->typent_code]; print ''; if (!$i) $totalarray['nbfield']++;