From 43e4a091026689accec8949f8a405ebc230dec81 Mon Sep 17 00:00:00 2001 From: Thierry Bugier Date: Tue, 16 Mar 2021 14:37:58 +0100 Subject: [PATCH] fix(form_validator): possible blank page Signed-off-by: Thierry Bugier --- front/form_validator.form.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/front/form_validator.form.php b/front/form_validator.form.php index 977c879e9..67d550c00 100644 --- a/front/form_validator.form.php +++ b/front/form_validator.form.php @@ -40,6 +40,7 @@ if (!isset($_POST['plugin_formcreator_forms_id'])) { // should not happen + Html::back(); } $formId = (int) $_POST['plugin_formcreator_forms_id']; $formValidator = new PluginFormcreatorForm_Validator(); @@ -55,4 +56,5 @@ 'validation_percent' => $_POST['validation_percent'], ]); Html::redirect($form->getFormURLWithID($formId)); -} \ No newline at end of file +} +Html::back(); \ No newline at end of file