(Retrofit from trunk) Portal : Fixed a regression introduced by r4324 causing HTML entities on the browse brick.

SVN:2.3[4354]
This commit is contained in:
Guillaume Lajarige
2016-08-29 07:33:38 +00:00
parent dfdec57d3f
commit 40b3e8290b
2 changed files with 4 additions and 4 deletions

View File

@@ -545,7 +545,7 @@ class BrowseBrickController extends BrickController
$aRow[$key] = array(
'level_alias' => $key,
'id' => $value->GetKey(),
'name' => $value->GetAsHTML($aLevelsProperties[$key]['name_att']),
'name' => $value->Get($aLevelsProperties[$key]['name_att']),
'class' => get_class($value),
'action_rules_token' => static::PrepareActionRulesForItem($value, $key, $aLevelsProperties)
);
@@ -561,7 +561,7 @@ class BrowseBrickController extends BrickController
$aRow[$key]['fields'] = array();
foreach ($aLevelsProperties[$key]['fields'] as $aField)
{
$aRow[$key]['fields'][$aField['code']] = $value->GetAsHTML($aField['code']);
$aRow[$key]['fields'][$aField['code']] = $value->Get($aField['code']);
}
}
}
@@ -610,7 +610,7 @@ class BrowseBrickController extends BrickController
$aItems[$sCurrentIndex] = array(
'level_alias' => $aCurrentRowKeys[0],
'id' => $aCurrentRowValues[0]->GetKey(),
'name' => $aCurrentRowValues[0]->GetAsHTML($aLevelsProperties[$aCurrentRowKeys[0]]['name_att']),
'name' => $aCurrentRowValues[0]->Get($aLevelsProperties[$aCurrentRowKeys[0]]['name_att']),
'class' => get_class($aCurrentRowValues[0]),
'subitems' => array(),
'action_rules_token' => static::PrepareActionRulesForItem($aCurrentRowValues[0], $aCurrentRowKeys[0], $aLevelsProperties)

View File

@@ -389,7 +389,7 @@ class ManageBrickController extends BrickController
}
else
{
$sValue = $oCurrentRow->GetAsHTML($sItemAttr);
$sValue = $oCurrentRow->Get($sItemAttr);
}
unset($oAttDef);