AuthBackendPage: Fix `Variable '$backendForm' is probably undefined`

This commit is contained in:
Sukhwinder Dhillon 2023-08-16 11:04:20 +02:00 committed by raviks789
parent 01352cf6c2
commit dae38414f8
1 changed files with 1 additions and 0 deletions

View File

@ -68,6 +68,7 @@ class AuthBackendPage extends Form
$this->addSkipValidationCheckbox(); $this->addSkipValidationCheckbox();
} }
$backendForm = null;
if (! isset($this->config) || $this->config['type'] === 'external') { if (! isset($this->config) || $this->config['type'] === 'external') {
$backendForm = new ExternalBackendForm(); $backendForm = new ExternalBackendForm();
$backendForm->create($formData); $backendForm->create($formData);