diff --git a/portal/index.php b/portal/index.php
index 418361fdf..c4dfecff9 100644
--- a/portal/index.php
+++ b/portal/index.php
@@ -481,7 +481,7 @@ function RequestCreationForm($oP, $oUserOrg, $iSvcId = null, $iSubSvcId = null,
$sValue = "".$oRequest->GetFormElementForField($oP, $sClass, $sAttCode, $oAttDef, $value, '', 'attr_'.$sAttCode, '', $iFlags, $aArgs).'';
$aDetails[] = array('label' => $oAttDef->GetLabel(), 'value' => $sValue);
}
-
+ $aHidden = array();
if (!empty($aTemplateFields))
{
foreach ($aTemplateFields as $sAttCode => $oField)
@@ -540,7 +540,7 @@ EOF
{
$oP->add("");
}
-
+ $oP->add(implode("\n", $aHidden));
$oAttPlugin = new AttachmentPlugIn();
$oAttPlugin->OnDisplayRelations($oRequest, $oP, true /* edit */);