Fix access of an array key which does not exist in some circumstances
refs #7163
This commit is contained in:
parent
03bbc2e2e6
commit
1bd5868a88
|
@ -252,7 +252,9 @@ class WebSetup extends Wizard implements SetupWizard
|
||||||
new GeneralConfigStep(array(
|
new GeneralConfigStep(array(
|
||||||
'generalConfig' => $pageData['setup_general_config'],
|
'generalConfig' => $pageData['setup_general_config'],
|
||||||
'preferencesType' => $pageData['setup_preferences_type']['type'],
|
'preferencesType' => $pageData['setup_preferences_type']['type'],
|
||||||
'preferencesResource' => $pageData['setup_db_resource']['name'],
|
'preferencesResource' => isset($pageData['setup_db_resource']['name'])
|
||||||
|
? $pageData['setup_db_resource']['name']
|
||||||
|
: null,
|
||||||
'fileMode' => $pageData['setup_general_config']['global_filemode']
|
'fileMode' => $pageData['setup_general_config']['global_filemode']
|
||||||
))
|
))
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue