mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 10:38:45 +02:00
Faster navigator: less data output, and also more robust since so strange data appeared in the export of the linkset attributes, that broke the XML export...
SVN:trunk[601]
This commit is contained in:
@@ -44,7 +44,10 @@ function AddNodeDetails(&$oNode, $oObj)
|
||||
{
|
||||
$oAttDef = MetaModel::GetAttributeDef(get_class($oObj), $sAttCode);
|
||||
$aLabels[] = $oAttDef->GetLabel();
|
||||
$oNode->SetAttribute('att_'.$index, $oObj->Get($sAttCode));
|
||||
if (!$oAttDef->IsLinkSet())
|
||||
{
|
||||
$oNode->SetAttribute('att_'.$index, $oObj->Get($sAttCode));
|
||||
}
|
||||
$index++;
|
||||
}
|
||||
$oNode->SetAttribute('zlist', implode(',', $aLabels));
|
||||
|
||||
Reference in New Issue
Block a user