From c318d3a9de78a08db556dfcb2abf96705fcc19ef Mon Sep 17 00:00:00 2001 From: slawkens Date: Fri, 3 Feb 2023 14:09:39 +0100 Subject: [PATCH] Option to disable plugin adjusted --- system/libs/plugins.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/libs/plugins.php b/system/libs/plugins.php index 04dfaf52..f794552c 100644 --- a/system/libs/plugins.php +++ b/system/libs/plugins.php @@ -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; }