diff --git a/htdocs/commande/list.php b/htdocs/commande/list.php index 8c8f661fac8..b3c52ee3318 100644 --- a/htdocs/commande/list.php +++ b/htdocs/commande/list.php @@ -2579,8 +2579,8 @@ while ($i < $imaxinloop) { // Note public if (!empty($arrayfields['c.note_public']['checked'])) { - print ''; - print dol_string_nohtmltag($obj->note_public); + print ''; + print dol_string_onlythesehtmltags($obj->note_public); print ''; if (!$i) { $totalarray['nbfield']++; @@ -2589,8 +2589,8 @@ while ($i < $imaxinloop) { // Note private if (!empty($arrayfields['c.note_private']['checked'])) { - print ''; - print dol_string_nohtmltag($obj->note_private); + print ''; + print dol_string_onlythesehtmltags($obj->note_private); print ''; if (!$i) { $totalarray['nbfield']++;