diff --git a/htdocs/societe/list.php b/htdocs/societe/list.php
index ad1e0cfbf54..62922eb8cb8 100644
--- a/htdocs/societe/list.php
+++ b/htdocs/societe/list.php
@@ -1396,7 +1396,7 @@ while ($i < min($num, $limit)) {
print '
';
print $obj->rowid;
print " | \n";
- if (empty($i)) {
+ if (!$i) {
$totalarray['nbfield']++;
}
}
@@ -1413,7 +1413,7 @@ while ($i < min($num, $limit)) {
}
print "\n";
$companystatic->name_alias = $savalias;
- if (empty($i)) {
+ if (!$i) {
$totalarray['nbfield']++;
}
}