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