Internal: Read-only fields are no longer stored in the form as hidden fields.

SVN:trunk[4255]
This commit is contained in:
Denis Flaven
2016-06-23 09:25:34 +00:00
parent f82b5833aa
commit 0ab344edee

View File

@@ -584,7 +584,6 @@ try
if ($iFlags & OPT_ATT_READONLY)
{
$sHTMLValue = "<span id=\"field_{$sId}\">".$oObj->GetAsHTML($sAttCode);
$sHTMLValue .= '<input type="hidden" id="'.$sId.'" name="attr_'.$sFormPrefix.$sAttCode.'" value="'.htmlentities($oObj->Get($sAttCode), ENT_QUOTES, 'UTF-8').'"/></span>';
$oWizardHelper->SetAllowedValuesHtml($sAttCode, $sHTMLValue);
}
else