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
1 changed files with 2 additions and 0 deletions

View File

@ -80,6 +80,8 @@ class BackendStep extends Step
$this->data['backendConfig']['name']
) . '</p>';
$resourceTitle = null;
$resourceHtml = null;
if ($this->data['resourceConfig']['type'] === 'db') {
$resourceTitle = '<h3>' . mt('monitoring', 'Database Resource') . '</h3>';
$resourceHtml = ''