Avoid using an attribute which may cause a Reload()... seems useless anyway.

SVN:trunk[3146]
This commit is contained in:
Denis Flaven
2014-05-06 15:25:00 +00:00
parent b095c6b1a3
commit fafa442b08

View File

@@ -1228,6 +1228,7 @@ abstract class cmdbAbstractObject extends CMDBObject implements iDisplay
else
{
$rawValue = $oObj->Get($sAttCodeEx);
/*
if ($oAttDef instanceof AttributeFriendlyName)
{
$sKeyAttCode = $oAttDef->GetKeyAttCode();
@@ -1239,6 +1240,7 @@ abstract class cmdbAbstractObject extends CMDBObject implements iDisplay
}
}
}
*/
if ($bLocalize)
{
$outputValue = htmlentities($oFinalAttDef->GetEditValue($rawValue), ENT_QUOTES, 'UTF-8');