Form 2.6 Caractères spéciaux mal affichés dans les noms des champs du formulaire lors de l'édition

This commit is contained in:
Prof Langues 2021-02-04 16:52:37 +01:00
parent 3b8b09df59
commit 3facabaeca
1 changed files with 1 additions and 1 deletions

View File

@ -94,7 +94,7 @@ class form extends common {
$inputs = [];
foreach($this->getInput('formConfigPosition', null) as $index => $position) {
$inputs[] = [
'name' => $this->getInput('formConfigName[' . $index . ']'),
'name' => htmlspecialchars_decode($this->getInput('formConfigName[' . $index . ']'),ENT_QUOTES),
'position' => helper::filter($position, helper::FILTER_INT),
'required' => $this->getInput('formConfigRequired[' . $index . ']', helper::FILTER_BOOLEAN),
'type' => $this->getInput('formConfigType[' . $index . ']'),