diff --git a/portal/index.php b/portal/index.php index 8bcf858981..f598820ac4 100644 --- a/portal/index.php +++ b/portal/index.php @@ -526,17 +526,14 @@ function RequestCreationForm($oP, $oUserOrg, $iSvcId = null, $iSubSvcId = null, { foreach ($aTemplateFields as $sAttCode => $oField) { - if (!in_array($sAttCode, $aList)) + $sValue = $oField->GetFormElement($oP, $sClass); + if ($oField->Get('input_type') == 'hidden') { - $sValue = $oField->GetFormElement($oP, $sClass); - if ($oField->Get('input_type') == 'hidden') - { - $aHidden[] = $sValue; - } - else - { - $aDetails[] = array('label' => $oField->GetAsHTML('label'), 'value' => $sValue); - } + $aHidden[] = $sValue; + } + else + { + $aDetails[] = array('label' => $oField->GetAsHTML('label'), 'value' => $sValue); } } }