Skip to content

Commit 411ae35

Browse files
committed
fix: handle undefined setting for service catalog homepage
1 parent 95103fe commit 411ae35

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

setup.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -426,6 +426,7 @@ function plugin_formcreator_redirect() {
426426
// Interface and active entity are set in session
427427
if (plugin_formcreator_replaceHelpdesk()) {
428428
switch (PluginFormcreatorEntityConfig::getUsedConfig('service_catalog_home', $_SESSION['glpiactive_entity'])) {
429+
default:
429430
case PluginFormcreatorEntityConfig::CONFIG_SERVICE_CATALOG_HOME_SEARCH:
430431
$homepage = '/front/wizard.php';
431432
break;

0 commit comments

Comments
 (0)