From c3cc07316e9a384c9aee91fb9d92583b04ba342e Mon Sep 17 00:00:00 2001 From: Timothee Date: Tue, 3 Feb 2026 11:54:30 +0100 Subject: [PATCH] =?UTF-8?q?N=C2=B09010=20Add=20explanation?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- setup/wizardsteps.class.inc.php | 1 + 1 file changed, 1 insertion(+) diff --git a/setup/wizardsteps.class.inc.php b/setup/wizardsteps.class.inc.php index 2ee18d9e6..56fd97db0 100644 --- a/setup/wizardsteps.class.inc.php +++ b/setup/wizardsteps.class.inc.php @@ -1937,6 +1937,7 @@ EOF public function ComputeChoiceFlags(array $aChoice, string $sChoiceId, array $aSelectedComponents, bool $bAllDisabled, bool $bDisableUninstallCheck, bool $bUpgradeMode) { $oITopExtension = $this->oExtensionsMap->GetFromExtensionCode($aChoice['extension_code']); + //If the extension is missing from disk, it won't exist in the ExtensionsMap, thus returning null $bCanBeUninstalled = isset($aChoice['uninstallable']) ? $aChoice['uninstallable'] === true || $aChoice['uninstallable'] === 'yes' : $oITopExtension->CanBeUninstalled(); $bSelected = isset($aSelectedComponents[$sChoiceId]) && ($aSelectedComponents[$sChoiceId] == $sChoiceId); $bMissingFromDisk = isset($aChoice['missing']) && $aChoice['missing'] === true;