cleanup code

This commit is contained in:
Eric
2018-10-11 15:51:47 +02:00
parent f3f70d6296
commit d7df975971

View File

@@ -1653,7 +1653,7 @@ EOF
$bDirDown = ($sDirection === 'down');
$oObj = MetaModel::GetObject($sClass, $id);
$iMaxRecursionDepth = MetaModel::GetConfig()->Get('relations_max_depth', 20);
$iMaxRecursionDepth = MetaModel::GetConfig()->Get('relations_max_depth');
$aSourceObjects = array($oObj);
$oP->set_title(MetaModel::GetRelationDescription($sRelation, $bDirDown).' '.$oObj->GetName());