Explorar o código

- bug fix: external keys must be set - in case the object has to be created

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

+ 1 - 1
core/bulkchange.class.inc.php

@@ -252,7 +252,7 @@ class BulkChange
 		foreach($this->m_aExtKeys as $sAttCode => $aKeyConfig)
 		{
 			// Skip external keys used for the reconciliation process
-			if (!array_key_exists($sAttCode, $this->m_aAttList)) continue;
+			// if (!array_key_exists($sAttCode, $this->m_aAttList)) continue;
 
 			$oExtKey = MetaModel::GetAttributeDef(get_class($oTargetObj), $sAttCode);
 			$oReconFilter = new CMDBSearchFilter($oExtKey->GetTargetClass());