From ea7ef29ca2623145ba139d37655dcd50f7a46a65 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 26 Jul 2022 12:56:42 +0200 Subject: [PATCH] Fix tooltip --- htdocs/societe/list.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/htdocs/societe/list.php b/htdocs/societe/list.php index a7ec8b9518c..137ddd1c7cb 100644 --- a/htdocs/societe/list.php +++ b/htdocs/societe/list.php @@ -1737,9 +1737,10 @@ while ($i < min($num, $limit)) { $totalarray['nbfield']++; } } + // Import key if (!empty($arrayfields['s.import_key']['checked'])) { - print ''; - print $obj->import_key; + print ''; + print dol_escape_htmltag($obj->import_key); print "\n"; if (!$i) { $totalarray['nbfield']++;