From 6a1f9133c0123aa49a0a23766dceeea5ed97c97f Mon Sep 17 00:00:00 2001 From: fredtempez Date: Tue, 7 May 2019 18:37:19 +0200 Subject: [PATCH] =?UTF-8?q?[form=201.8]=20bug=20redirection=20sans=20page?= =?UTF-8?q?=20s=C3=A9lectionn=C3=A9e?= 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 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) : ''; }