mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-22 18:18:46 +02:00
#1092 Caller not preset when creating a ticket from a contact
SVN:trunk[3543]
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user