From d7df975971ca3fee5d5900684a16c1af1b481d3e Mon Sep 17 00:00:00 2001 From: Eric Date: Thu, 11 Oct 2018 15:51:47 +0200 Subject: [PATCH] cleanup code --- pages/UI.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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());