[form 1.8] bug redirection sans page sélectionnée

This commit is contained in:
fredtempez 2019-05-07 18:37:19 +02:00
parent c5d3e93f03
commit 6a1f9133c0
1 changed files with 1 additions and 1 deletions

View File

@ -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) : '';
}