This commit is contained in:
Laurent Destailleur 2020-11-02 20:05:06 +01:00
parent ed6925d87d
commit 3df0d5dc22
2 changed files with 2 additions and 2 deletions

View File

@ -957,7 +957,7 @@ if ($action == 'create')
// Title
print '<tr><td class="titlefieldcreate fieldrequired">'.$langs->trans("Title").'</td><td>';
print '<input class="flat quatrevingtpercent" type="text" name="titre" value="'.$_POST["titre"].'">';
print '<input class="flat quatrevingtpercent" type="text" name="titre" value="'.dol_escape_htmltag(GETPOST("titre", 'alphanohtml')).'">';
print '</td></tr>';
// Third party

View File

@ -277,7 +277,7 @@ if ($action == 'create') {
// Title
print '<tr><td class="fieldrequired">'.$langs->trans("Title").'</td><td>';
print '<input class="flat" type="text" name="titre" size="24" value="'.$_POST["titre"].'">';
print '<input class="flat quatrevingtpercent" type="text" name="titre" value="'.dol_escape_htmltag(GETPOST("titre", "alphanohtml")).'">';
print '</td>';
// Note