mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
Internal: Read-only fields are no longer stored in the form as hidden fields.
SVN:trunk[4255]
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user