From f668d94bd9b74657853e50230924a4397da08579 Mon Sep 17 00:00:00 2001 From: Timothee Date: Tue, 9 Dec 2025 15:58:52 +0100 Subject: [PATCH] =?UTF-8?q?N=C2=B08864=20Style=20fix?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- setup/wizardsteps.class.inc.php | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/setup/wizardsteps.class.inc.php b/setup/wizardsteps.class.inc.php index 4f7247aaf..cdad225a8 100644 --- a/setup/wizardsteps.class.inc.php +++ b/setup/wizardsteps.class.inc.php @@ -1404,13 +1404,12 @@ class WizStepModulesChoice extends WizardStep foreach ($this->oExtensionsMap->GetAllExtensionsWithPreviouslyInstalled() as $oExtension) { /* @var \iTopExtension $oExtension */ $bSelected = in_array($oExtension->sCode, $aExtensions); - if($oExtension->bInstalled && !$bSelected){ + if ($oExtension->bInstalled && !$bSelected) { $aExtensionsRemoved[$oExtension->sCode] = $oExtension->sLabel; - } - else if(!$oExtension->bInstalled && $bSelected) { + } elseif (!$oExtension->bInstalled && $bSelected) { $aExtensionsAdded[$oExtension->sCode] = $oExtension->sLabel; } - if(!$oExtension->CanBeUninstalled()){ + if (!$oExtension->CanBeUninstalled()) { $aExtensionsNotUninstallable[$oExtension->sCode] = true; } }