Wizard: Properly process automatic submissions of the general config page

fixes #9855
This commit is contained in:
Johannes Meyer 2015-08-06 15:40:20 +02:00
parent c289b2f1ef
commit 2a1f0132bc

View File

@ -229,7 +229,10 @@ class WebWizard extends Wizard implements SetupWizard
} elseif ($page->getName() === 'setup_general_config') {
$authData = $this->getPageData('setup_authentication_type');
if ($authData['type'] === 'db') {
$page->create()->getElement('global_config_backend')->setValue('db');
$page
->create($this->getRequestData($page, $request))
->getElement('global_config_backend')
->setValue('db');
$page->info(
mt(
'setup',