ResourceStep: Fix `Variable '$dbHtml, $ldapHtml' are probably undefined`

This commit is contained in:
Sukhwinder Dhillon 2023-08-16 11:18:19 +02:00 committed by raviks789
parent e5981ed2b5
commit 8960324fcd
1 changed files with 2 additions and 0 deletions

View File

@ -57,6 +57,7 @@ class ResourceStep extends Step
$pageTitle = '<h2>' . mt('setup', 'Resource', 'setup.page.title') . '</h2>';
}
$dbHtml = null;
if (isset($this->data['dbResourceConfig'])) {
$dbTitle = '<h3>' . mt('setup', 'Database', 'setup.page.title') . '</h3>';
$dbHtml = ''
@ -142,6 +143,7 @@ class ResourceStep extends Step
. '</table>';
}
$ldapHtml = null;
if (isset($this->data['ldapResourceConfig'])) {
$ldapTitle = '<h3>LDAP</h3>';
$ldapHtml = ''