mirror of
https://github.com/slawkens/myaac.git
synced 2025-05-01 11:49:20 +02:00
Small improvement to plugins.enabled check
This commit is contained in:
parent
98f6b03747
commit
cf04c1df02
@ -66,7 +66,7 @@ class Plugins {
|
||||
continue;
|
||||
}
|
||||
|
||||
if(isset($plugin['enabled']) && $plugin['enabled'] === 0) {
|
||||
if(isset($plugin['enabled']) && !getBoolean($plugin['enabled'])) {
|
||||
self::$warnings[] = 'Skipping ' . $filename . '... The plugin is disabled.';
|
||||
continue;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user