From 0453dd8f0949053d04d9a0070dd8f0aa73536e61 Mon Sep 17 00:00:00 2001 From: florian HENRY Date: Thu, 20 Aug 2020 16:39:14 +0200 Subject: [PATCH] fix php warning : count parameters must be countable --- htdocs/commande/list.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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']++;