git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@1080 a333f486-631f-4898-b8df-5754b55c2be0
@@ -137,7 +137,7 @@ try
$aResults = array();
$oObj->GetRelatedObjects($sRelation, MAX_RECURSION_DEPTH /* iMaxDepth */, $aResults);
- $iBlock = 0;
+ $iBlock = 1; // Zero is not a valid blockid
foreach($aResults as $sClass => $aObjects)
{
$oSet = CMDBObjectSet::FromArray($sClass, $aObjects);