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

SVN:2.0[2763]
This commit is contained in:
Denis Flaven
2013-05-29 08:59:59 +00:00
parent 49a94dac1f
commit 017b52d41f

View File

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