diff --git a/pages/UI.php b/pages/UI.php index d534e6e36..2dacb52e9 100644 --- a/pages/UI.php +++ b/pages/UI.php @@ -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());