浏览代码

#1092 Caller not preset when creating a ticket from a contact

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@3543 a333f486-631f-4898-b8df-5754b55c2be0
romainq 10 年之前
父节点
当前提交
5c8336da86
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      pages/xml.navigator.php

+ 2 - 0
pages/xml.navigator.php

@@ -63,6 +63,7 @@ $G_aCachedObjects = array();
 function GetRelatedObjectsAsXml(DBObject $oObj, $sRelationName, &$oLinks, &$oXmlDoc, &$oXmlNode, $iDepth = 0, $aExcludedClasses)
 {
 	global $G_aCachedObjects;
+
 	$iMaxRecursionDepth = MetaModel::GetConfig()->Get('relations_max_depth', 20);
 	$aResults = array();
 	$bAddLinks = false;
@@ -196,6 +197,7 @@ try
 		
 			$oXmlRoot->SetAttribute('position', 'left');
 			$oXmlRoot->SetAttribute('title', MetaModel::GetRelationDescription($sRelation).' '. htmlspecialchars($oObj->GetRawName()));
+IssueLog::Info(__function__." Rel: $sRelation");
 			GetRelatedObjectsAsXml($oObj, $sRelation, $oLinks, $oXmlDoc, $oXmlNode, 0, $aExcludedClasses);
 			
 			$oXmlRoot->AppendChild($oXmlNode);