mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-24 14:24:41 +02:00
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(
|
||||
'generalConfig' => $pageData['setup_general_config'],
|
||||
'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']
|
||||
))
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user