Module: Don't pass null as param to `class_exists()`
This commit is contained in:
parent
97f459b7e9
commit
f0f2835708
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue