parent
6c474bcae9
commit
58c669bf1e
|
|
@ -442,7 +442,7 @@ class PluginManager
|
|||
}
|
||||
|
||||
if (File::exists($path)) {
|
||||
$disabled = json_decode(File::get($path), true);
|
||||
$disabled = json_decode(File::get($path), true) ?: [];
|
||||
$this->disabledPlugins = array_merge($this->disabledPlugins, $disabled);
|
||||
}
|
||||
else {
|
||||
|
|
|
|||
Loading…
Reference in New Issue