From 3facabaeca969c8cd57ad507774265abb2512b6f Mon Sep 17 00:00:00 2001 From: Prof Langues Date: Thu, 4 Feb 2021 16:52:37 +0100 Subject: [PATCH] =?UTF-8?q?Form=202.6=20Caract=C3=A8res=20sp=C3=A9ciaux=20?= =?UTF-8?q?mal=20affich=C3=A9s=20dans=20les=20noms=20des=20champs=20=20du?= =?UTF-8?q?=20formulaire=20lors=20de=20l'=C3=A9dition?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- module/form/form.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/form/form.php b/module/form/form.php index 955f40f0..5dc1f5c8 100755 --- a/module/form/form.php +++ b/module/form/form.php @@ -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 . ']'),