BackendStep: Fix Variable '$$resourceTitle, $resourceHtml' is probably undefined

This commit is contained in:
Sukhwinder Dhillon 2023-08-16 10:52:20 +02:00 committed by raviks789
parent c1bdec65f4
commit 84589f8833

View File

@ -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 = ''