mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-29 16:54:04 +02:00
ResourceStep: Fix Variable '$dbHtml, $ldapHtml' are probably undefined
This commit is contained in:
parent
e5981ed2b5
commit
8960324fcd
@ -57,6 +57,7 @@ class ResourceStep extends Step
|
|||||||
$pageTitle = '<h2>' . mt('setup', 'Resource', 'setup.page.title') . '</h2>';
|
$pageTitle = '<h2>' . mt('setup', 'Resource', 'setup.page.title') . '</h2>';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$dbHtml = null;
|
||||||
if (isset($this->data['dbResourceConfig'])) {
|
if (isset($this->data['dbResourceConfig'])) {
|
||||||
$dbTitle = '<h3>' . mt('setup', 'Database', 'setup.page.title') . '</h3>';
|
$dbTitle = '<h3>' . mt('setup', 'Database', 'setup.page.title') . '</h3>';
|
||||||
$dbHtml = ''
|
$dbHtml = ''
|
||||||
@ -142,6 +143,7 @@ class ResourceStep extends Step
|
|||||||
. '</table>';
|
. '</table>';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$ldapHtml = null;
|
||||||
if (isset($this->data['ldapResourceConfig'])) {
|
if (isset($this->data['ldapResourceConfig'])) {
|
||||||
$ldapTitle = '<h3>LDAP</h3>';
|
$ldapTitle = '<h3>LDAP</h3>';
|
||||||
$ldapHtml = ''
|
$ldapHtml = ''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user