Преглед на файлове

#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]);
 		}