Removed a "assertion failed" error message.

SVN:trunk[1080]
This commit is contained in:
Denis Flaven
2011-02-09 09:44:00 +00:00
parent 0b93e6f79e
commit 89b58d44cd

View File

@@ -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);