Compare commits
2 Commits
3b8b09df59
...
f6c1e2a9f3
Author | SHA1 | Date | |
---|---|---|---|
|
f6c1e2a9f3 | ||
|
3facabaeca |
@ -32,7 +32,7 @@ class form extends common {
|
|||||||
|
|
||||||
public static $pagination;
|
public static $pagination;
|
||||||
|
|
||||||
const FORM_VERSION = '2.5';
|
const FORM_VERSION = '2.6';
|
||||||
|
|
||||||
// Objets
|
// Objets
|
||||||
const TYPE_MAIL = 'mail';
|
const TYPE_MAIL = 'mail';
|
||||||
@ -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