Fix exception "Undefined index: type" in the WebWizard's page logic

refs #8275
This commit is contained in:
Johannes Meyer 2015-01-26 10:32:33 +01:00
parent fb97e74453
commit 0b73dbdd6d
1 changed files with 1 additions and 1 deletions

View File

@ -188,7 +188,7 @@ class WebWizard extends Wizard implements SetupWizard
if ($newPage->getName() === 'setup_db_resource') { if ($newPage->getName() === 'setup_db_resource') {
$prefData = $this->getPageData('setup_preferences_type'); $prefData = $this->getPageData('setup_preferences_type');
$authData = $this->getPageData('setup_authentication_type'); $authData = $this->getPageData('setup_authentication_type');
$skip = $prefData['type'] !== 'db' && $authData['type'] !== 'db'; $skip = $prefData['store'] !== 'db' && $authData['type'] !== 'db';
} elseif ($newPage->getname() === 'setup_ldap_discovery') { } elseif ($newPage->getname() === 'setup_ldap_discovery') {
$authData = $this->getPageData('setup_authentication_type'); $authData = $this->getPageData('setup_authentication_type');
$skip = $authData['type'] !== 'ldap'; $skip = $authData['type'] !== 'ldap';