From 8960324fcd1fd71d4d8f4c49797e69f8197769b6 Mon Sep 17 00:00:00 2001 From: Sukhwinder Dhillon Date: Wed, 16 Aug 2023 11:18:19 +0200 Subject: [PATCH] ResourceStep: Fix `Variable '$dbHtml, $ldapHtml' are probably undefined` --- modules/setup/library/Setup/Steps/ResourceStep.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/setup/library/Setup/Steps/ResourceStep.php b/modules/setup/library/Setup/Steps/ResourceStep.php index d9daf3b8f..d69d325ff 100644 --- a/modules/setup/library/Setup/Steps/ResourceStep.php +++ b/modules/setup/library/Setup/Steps/ResourceStep.php @@ -57,6 +57,7 @@ class ResourceStep extends Step $pageTitle = '

' . mt('setup', 'Resource', 'setup.page.title') . '

'; } + $dbHtml = null; if (isset($this->data['dbResourceConfig'])) { $dbTitle = '

' . mt('setup', 'Database', 'setup.page.title') . '

'; $dbHtml = '' @@ -142,6 +143,7 @@ class ResourceStep extends Step . ''; } + $ldapHtml = null; if (isset($this->data['ldapResourceConfig'])) { $ldapTitle = '

LDAP

'; $ldapHtml = ''