mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-27 07:44:04 +02:00
BackendStep: Fix Variable '$$resourceTitle, $resourceHtml' is probably undefined
This commit is contained in:
parent
c1bdec65f4
commit
84589f8833
@ -80,6 +80,8 @@ class BackendStep extends Step
|
|||||||
$this->data['backendConfig']['name']
|
$this->data['backendConfig']['name']
|
||||||
) . '</p>';
|
) . '</p>';
|
||||||
|
|
||||||
|
$resourceTitle = null;
|
||||||
|
$resourceHtml = null;
|
||||||
if ($this->data['resourceConfig']['type'] === 'db') {
|
if ($this->data['resourceConfig']['type'] === 'db') {
|
||||||
$resourceTitle = '<h3>' . mt('monitoring', 'Database Resource') . '</h3>';
|
$resourceTitle = '<h3>' . mt('monitoring', 'Database Resource') . '</h3>';
|
||||||
$resourceHtml = ''
|
$resourceHtml = ''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user