diff --git a/module/form/form.php b/module/form/form.php index fb6408b1..51b29d38 100644 --- a/module/form/form.php +++ b/module/form/form.php @@ -70,7 +70,7 @@ class form extends common { // Configuration // Option sélectionnée sans page choisie $pageId = ''; - if ($this->getInput('formConfigPageId', helper::FILTER_ID) !== null) { + if ($this->getInput('formConfigPageId') !== "") { // Option désactivée, réinitialiser l'id de la page sélectionnée. $pageId = $this->getInput('formConfigPageIdToggle', helper::FILTER_BOOLEAN) === true ? $this->getInput('formConfigPageId', helper::FILTER_ID) : ''; }