diff --git a/htdocs/commande/list.php b/htdocs/commande/list.php
index 032fd3393e2..be01453d941 100644
--- a/htdocs/commande/list.php
+++ b/htdocs/commande/list.php
@@ -2045,7 +2045,9 @@ if ($resql) {
// Ref customer
if (!empty($arrayfields['c.ref_client']['checked'])) {
- print '
'.$obj->ref_client.' | ';
+ print '';
+ print dol_escape_htmltag($obj->ref_client);
+ print ' | ';
if (!$i) {
$totalarray['nbfield']++;
}
@@ -2350,7 +2352,7 @@ if ($resql) {
// Author
if (!empty($arrayfields['u.login']['checked'])) {
- print '';
+ print ' | ';
if ($userstatic->id) {
print $userstatic->getNomUrl(-1);
} else {
|