N°9998 Fix remote uninstallable flag

This commit is contained in:
Timmy38
2026-08-28 11:33:29 +02:00
parent 42380f7a7a
commit b5f85a9d5f
3 changed files with 29 additions and 1 deletions

View File

@@ -696,8 +696,10 @@ class iTopExtensionsMap
$oChoice = $this->GetFromExtensionCode($oExtension->sCode);
if ($oChoice) {
$oChoice->bInstalled = true;
$oExtension->bRemovedFromDisk = $oChoice->bRemovedFromDisk;
} else {
$oExtension->bRemovedFromDisk = true;
$this->aExtensionsByCode[$oExtension->sCode] = $oExtension;
}
$this->aInstalledExtensions[$oExtension->sCode.'/'.$oExtension->sVersion] = $oExtension;