Skip to content

Commit a3ecd25

Browse files
committed
N°9141 Fix missing bCanBeUninstalled flag for installation.xml choices
1 parent 5ddcd27 commit a3ecd25

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

setup/extensionsmap.class.inc.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ protected function ProcessWizardChoices($aChoices)
104104
if (array_key_exists('extension_code', $aChoiceInfo)) {
105105
$oExtension = new iTopExtension();
106106
$oExtension->sCode = $aChoiceInfo['extension_code'];
107+
$oExtension->bCanBeUninstalled = !isset($aChoiceInfo['uninstallable']) || $aChoiceInfo['uninstallable'] === 'yes';
107108
$oExtension->sLabel = $aChoiceInfo['title'];
108109
$oExtension->sDescription = $aChoiceInfo['description'];
109110
if (array_key_exists('modules', $aChoiceInfo)) {

0 commit comments

Comments
 (0)