From cc86ab8c5eea50cd7b1fb4e89423ea9d79736f7b Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 2 Sep 2021 19:19:35 +0200 Subject: [PATCH] Update list.php --- htdocs/societe/list.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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']++; } }