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; } /* }}} */ /**