Pārlūkot izejas kodu

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

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@141 a333f486-631f-4898-b8df-5754b55c2be0
romainq 15 gadi atpakaļ
vecāks
revīzija
436a4fb235
1 mainītis faili ar 6 papildinājumiem un 1 dzēšanām
  1. 6 1
      application/cmdbabstract.class.inc.php

+ 6 - 1
application/cmdbabstract.class.inc.php

@@ -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);
 					}
 				}
 			}