From 237aa79140495a54024853e04cb07cb9110debf7 Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Wed, 24 Sep 2025 14:57:16 +0200 Subject: [PATCH] extensionIsDisabled() returns true if extension isn't installed --- inc/inc.ClassSettings.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inc/inc.ClassSettings.php b/inc/inc.ClassSettings.php index d9be038bf..d3860fbd3 100644 --- a/inc/inc.ClassSettings.php +++ b/inc/inc.ClassSettings.php @@ -1781,13 +1781,13 @@ class Settings { /* {{{ */ * Check if extension is disabled * * @param string $extname name of extension - * @return true if extension is disabled + * @return true if extension is disabled or extension could not be found in configuration */ public function extensionIsDisabled($extname) { /* {{{ */ if(array_key_exists($extname, $this->_extensions)) return $this->_extensions[$extname]['__disable__']; - return false; + return true; } /* }}} */ /**