diff --git a/htdocs/projet/list.php b/htdocs/projet/list.php index 671f528483b..a85817704a5 100644 --- a/htdocs/projet/list.php +++ b/htdocs/projet/list.php @@ -1793,10 +1793,12 @@ while ($i < $imaxinloop) { } // Email MsgID if (!empty($arrayfields['p.email_msgid']['checked'])) { - print ''; - print $obj->email_msgid; + print ''; + print dol_escape_htmltag($obj->email_msgid); print ''; - if (!$i) $totalarray['nbfield']++; + if (!$i) { + $totalarray['nbfield']++; + } } // Import key if (!empty($arrayfields['p.import_key']['checked'])) {