diff --git a/htdocs/compta/facture/list.php b/htdocs/compta/facture/list.php
index 709b246602b..9cefdf00088 100644
--- a/htdocs/compta/facture/list.php
+++ b/htdocs/compta/facture/list.php
@@ -2109,15 +2109,15 @@ if ($resql) {
}
}
// Customer Code
- if (!empty($arrayfields['s.code_client']['checked'])) {
- print '
';
- print dol_escape_htmltag($companystatic->code_client);
- print ' | ';
- if (!$i) {
- $totalarray['nbfield']++;
+ if (!empty($arrayfields['s.code_client']['checked'])) {
+ print '';
+ print dol_escape_htmltag($companystatic->code_client);
+ print ' | ';
+ if (!$i) {
+ $totalarray['nbfield']++;
+ }
}
- }
- // Town
+ // Town
if (!empty($arrayfields['s.town']['checked'])) {
print '';
print dol_escape_htmltag($obj->town);
|