From 4ef5a3b6b6bec96f226ced21ab3f3dc1eae11e7c Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 23 Sep 2022 13:13:13 +0200 Subject: [PATCH] css --- htdocs/product/composition/card.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/htdocs/product/composition/card.php b/htdocs/product/composition/card.php index d7e218a56a1..47cc741fb22 100644 --- a/htdocs/product/composition/card.php +++ b/htdocs/product/composition/card.php @@ -330,13 +330,13 @@ if ($id > 0 || !empty($ref)) { print ''; print ''.$productstatic->getNomUrl(1, 'composition').''; - print ''.$productstatic->label.''; - print ''.$value['qty'].''; + print ''.dol_escape_htmltag($productstatic->label).''; + print ''.dol_escape_htmltag($value['qty']).''; print ''; } } else { print ''; - print ''.$langs->trans("None").''; + print ''.$langs->trans("None").''; print ''; } print ''; @@ -571,7 +571,7 @@ if ($id > 0 || !empty($ref)) { } print ''; - print ''.$langs->trans("None").''; + print ''.$langs->trans("None").''; print ''; }