Module: Don't pass null as param to `class_exists()`

This commit is contained in:
Sukhwinder Dhillon 2022-07-04 09:50:11 +02:00 committed by Johannes Meyer
parent 97f459b7e9
commit f0f2835708
1 changed files with 1 additions and 1 deletions

View File

@ -1036,7 +1036,7 @@ class Module
public function providesSetupWizard()
{
$this->launchConfigScript();
if (class_exists($this->setupWizard)) {
if ($this->setupWizard && class_exists($this->setupWizard)) {
$wizard = new $this->setupWizard;
return $wizard instanceof SetupWizard;
}