forked from ZwiiCMS-Team/ZwiiCMS
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:
parent
3b8b09df59
commit
3facabaeca
@ -94,7 +94,7 @@ class form extends common {
|
|||||||
$inputs = [];
|
$inputs = [];
|
||||||
foreach($this->getInput('formConfigPosition', null) as $index => $position) {
|
foreach($this->getInput('formConfigPosition', null) as $index => $position) {
|
||||||
$inputs[] = [
|
$inputs[] = [
|
||||||
'name' => $this->getInput('formConfigName[' . $index . ']'),
|
'name' => htmlspecialchars_decode($this->getInput('formConfigName[' . $index . ']'),ENT_QUOTES),
|
||||||
'position' => helper::filter($position, helper::FILTER_INT),
|
'position' => helper::filter($position, helper::FILTER_INT),
|
||||||
'required' => $this->getInput('formConfigRequired[' . $index . ']', helper::FILTER_BOOLEAN),
|
'required' => $this->getInput('formConfigRequired[' . $index . ']', helper::FILTER_BOOLEAN),
|
||||||
'type' => $this->getInput('formConfigType[' . $index . ']'),
|
'type' => $this->getInput('formConfigType[' . $index . ']'),
|
||||||
|
Loading…
Reference in New Issue
Block a user