From 36c545a6c477cf69996e2170c726ffe7dd5ad7ea Mon Sep 17 00:00:00 2001 From: Timothee Date: Tue, 20 Jan 2026 15:35:53 +0100 Subject: [PATCH] =?UTF-8?q?N=C2=B08763=20Fix=20non-uninstallable=20check?= =?UTF-8?q?=20in=20multi-modules=20extensions?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- setup/itopextension.class.inc.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/setup/itopextension.class.inc.php b/setup/itopextension.class.inc.php index e7c8af96d..858dd23f1 100644 --- a/setup/itopextension.class.inc.php +++ b/setup/itopextension.class.inc.php @@ -135,8 +135,9 @@ class iTopExtension return $this->bCanBeUninstalled; } foreach ($this->aModuleInfo as $sModuleCode => $aModuleInfo) { - $this->bCanBeUninstalled = $aModuleInfo['uninstallable'] === 'yes'; - return $this->bCanBeUninstalled; + if ($aModuleInfo['uninstallable'] !== 'yes') { + return false; + } } return true; }