diff --git a/htdocs/product/fiche.php b/htdocs/product/fiche.php index 1ab03bb6a9bbd9d7eab837d3c8f07fe6213612cf..1ec4855155ef9801022db2dffba98263b5402505 100644 --- a/htdocs/product/fiche.php +++ b/htdocs/product/fiche.php @@ -881,10 +881,10 @@ else print '<table class="border allwidth">'; // Ref - print '<tr><td width="15%" class="fieldrequired">'.$langs->trans("Ref").'</td><td colspan="2"><input name="ref" size="40" maxlength="128" value="'.$object->ref.'"></td></tr>'; + print '<tr><td width="15%" class="fieldrequired">'.$langs->trans("Ref").'</td><td colspan="2"><input name="ref" size="40" maxlength="128" value="'.dol_escape_htmltag($object->ref).'"></td></tr>'; // Label - print '<tr><td class="fieldrequired">'.$langs->trans("Label").'</td><td colspan="2"><input name="libelle" size="40" maxlength="255" value="'.$object->libelle.'"></td></tr>'; + print '<tr><td class="fieldrequired">'.$langs->trans("Label").'</td><td colspan="2"><input name="libelle" size="40" maxlength="255" value="'.dol_escape_htmltag($object->libelle).'"></td></tr>'; // Status print '<tr><td class="fieldrequired">'.$langs->trans("Status").' ('.$langs->trans("Sell").')</td><td colspan="2">';