Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/setup
diff options
context:
space:
mode:
authorMaurício Meneghini Fauth <mauricio@fauth.dev>2019-03-15 20:38:58 +0300
committerMaurício Meneghini Fauth <mauricio@fauth.dev>2019-03-15 20:38:58 +0300
commit2210debbf9c66127781e0ce3cb845fa8475c6a92 (patch)
tree60ed92ef44c61a10c2a2f0bac20283e8808098c2 /setup
parent7d6d1c786501c238a93d7aa0c3fc55402dd079e6 (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.php2
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;
}