From db554df0416ca34daa1fad56804c4751eaf253b4 Mon Sep 17 00:00:00 2001 From: slawkens Date: Tue, 8 Jun 2021 18:37:00 +0200 Subject: [PATCH] Small improvement to plugins.enabled check --- 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 939cff4b..57507aae 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; }