Fixed a stopper bug in the display of N-N links from the default object display procedure (not using templates)

SVN:code[141]
This commit is contained in:
Romain Quetiez
2009-09-11 08:42:57 +00:00
parent 7618c38a05
commit 455c703468

View File

@@ -179,7 +179,12 @@ abstract class cmdbAbstractObject extends CMDBObject
if (count($aLinkedObjects) > 0)
{
$oSet = CMDBObjectSet::FromArray($sLinkClass, $aLinkedObjects);
$this->DisplaySet($oPage, $oSet, $oAttDef->GetExtKeyToMe(), true, false, $this->GetKey(), $oAttDef->GetExtKeyToRemote());
$aParams = array(
'link_attr' => $oAttDef->GetExtKeyToMe(),
'object_id' => $this->GetKey(),
'target_attr' => $oAttDef->GetExtKeyToRemote(),
);
self::DisplaySet($oPage, $oSet, $aParams);
}
}
}