Explorar o código

- bug fix...

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@345 a333f486-631f-4898-b8df-5754b55c2be0
dflaven %!s(int64=15) %!d(string=hai) anos
pai
achega
a9125c5ae9
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      core/dbobjectset.class.php

+ 2 - 2
core/dbobjectset.class.php

@@ -91,8 +91,8 @@ class DBObjectSet
 		// In a perfect world, we should create a complete tree of DBObjectSearch,
 		// In a perfect world, we should create a complete tree of DBObjectSearch,
 		// but as we lack most of the information related to the objects,
 		// but as we lack most of the information related to the objects,
 		// let's create one search definition
 		// let's create one search definition
-		$sClass = reset($this->m_aClasses);
-		$sAlias = key($this->m_aClasses);
+		$sClass = reset($aClasses);
+		$sAlias = key($aClasses);
 		$oFilter = new CMDBSearchFilter($sClass, $sAlias);
 		$oFilter = new CMDBSearchFilter($sClass, $sAlias);
 
 
 		$oRetSet = new self($oFilter);
 		$oRetSet = new self($oFilter);