From b7c4e084f3bbdcf7f71825e469f4e7c1f8e9711a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eric=20Espi=C3=A9?= Date: Fri, 20 Oct 2017 11:54:05 +0000 Subject: [PATCH] =?UTF-8?q?N=C2=B01131=20-=20Setup:=20Can't=20add=20option?= =?UTF-8?q?s=20to=20ITIL=20Ticketing=20in=20update=20mode=20*=20Fix=20the?= =?UTF-8?q?=20disable=20attribute=20of=20the=20options?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit SVN:trunk[5057] --- setup/wizardsteps.class.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup/wizardsteps.class.inc.php b/setup/wizardsteps.class.inc.php index c4ef19329..2d58a94b8 100644 --- a/setup/wizardsteps.class.inc.php +++ b/setup/wizardsteps.class.inc.php @@ -1948,7 +1948,7 @@ EOF $sHidden = ''; } $oPage->add('
'.$sHidden.' '); - $this->DisplayChoice($oPage, $aChoice, $aSelectedComponents, $aDefaults, $sChoiceId, $bDisabled); + $this->DisplayChoice($oPage, $aChoice, $aSelectedComponents, $aDefaults, $sChoiceId, $bDisabled && !$bSelected); $oPage->add('
'); $index++; } @@ -1961,7 +1961,7 @@ EOF $sId = htmlentities($aChoice['extension_code'], ENT_QUOTES, 'UTF-8'); $oPage->add(' '.$sMoreInfo); $sDescription = isset($aChoice['description']) ? htmlentities($aChoice['description'], ENT_QUOTES, 'UTF-8') : ''; - $oPage->add('
'.$sDescription.''); + $oPage->add('
'.$sDescription.''); if (isset($aChoice['sub_options'])) { $this->DisplayOptions($oPage, $aChoice['sub_options'], $aSelectedComponents, $aDefaults, $sChoiceId, $bDisabled);