diff options
author | Maurício Meneghini Fauth <mauricio@fauth.dev> | 2019-03-15 20:38:58 +0300 |
---|---|---|
committer | Maurício Meneghini Fauth <mauricio@fauth.dev> | 2019-03-15 20:38:58 +0300 |
commit | 2210debbf9c66127781e0ce3cb845fa8475c6a92 (patch) | |
tree | 60ed92ef44c61a10c2a2f0bac20283e8808098c2 /setup | |
parent | 7d6d1c786501c238a93d7aa0c3fc55402dd079e6 (diff) |
Fix type error in setup script when adding new server
Fixes #14312
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
Diffstat (limited to 'setup')
-rw-r--r-- | setup/lib/FormProcessing.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/setup/lib/FormProcessing.php b/setup/lib/FormProcessing.php index 35aaf4c4c6..195ce5f503 100644 --- a/setup/lib/FormProcessing.php +++ b/setup/lib/FormProcessing.php @@ -32,6 +32,7 @@ class FormProcessing // revert erroneous fields to their default values $form_display->fixErrors(); $response = Response::getInstance(); + $response->disable(); $response->generateHeader303('index.php' . Url::getCommonRaw()); } @@ -44,6 +45,7 @@ class FormProcessing // check for form errors if (!$form_display->hasErrors()) { $response = Response::getInstance(); + $response->disable(); $response->generateHeader303('index.php' . Url::getCommonRaw()); return; } |