Преглед изворни кода

#734 Fixed a regression on reconciliation keys during CSV import.

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@2761 a333f486-631f-4898-b8df-5754b55c2be0
dflaven пре 12 година
родитељ
комит
853a0cb370
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      core/bulkchange.class.inc.php

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

@@ -299,7 +299,7 @@ class BulkChange
 			// The foreign attribute is one of our reconciliation key
 			$oForeignAtt = MetaModel::GetAttributeDef($oExtKey->GetTargetClass(), $sForeignAttCode);
 			$value = $oForeignAtt->MakeValueFromString($aRowData[$iCol], $this->m_bLocalizedValues);
-			$oReconFilter->AddCondition($sForeignAttCode, $value);
+			$oReconFilter->AddCondition($sForeignAttCode, $value, '=');
 			$aResults[$iCol] = new CellStatus_Void($aRowData[$iCol]);
 		}