mirror of
https://github.com/slawkens/myaac.git
synced 2025-11-28 22:26:51 +01:00
Small improvement to plugins.enabled check
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user