diff --git a/htdocs/societe/list.php b/htdocs/societe/list.php index 62922eb8cb8..ca4793c2c60 100644 --- a/htdocs/societe/list.php +++ b/htdocs/societe/list.php @@ -1513,7 +1513,7 @@ while ($i < min($num, $limit)) { } print empty($typenArray[$obj->typent_code]) ? '' : $typenArray[$obj->typent_code]; print ''; - if (empty($i)) { + if (!$i) { $totalarray['nbfield']++; } } @@ -1532,19 +1532,19 @@ while ($i < min($num, $limit)) { } print $staffArray[$obj->staff_code]; print ''; - if (empty($i)) { + if (!$i) { $totalarray['nbfield']++; } } if (!empty($arrayfields['s.email']['checked'])) { print '