mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
N°1098 Fix CSV import by id.
Fix a regression introduced in rev 4885. SVN:trunk[4969]
This commit is contained in:
@@ -468,10 +468,11 @@ class BulkChange
|
|||||||
//
|
//
|
||||||
foreach ($this->m_aAttList as $sAttCode => $iCol)
|
foreach ($this->m_aAttList as $sAttCode => $iCol)
|
||||||
{
|
{
|
||||||
$oAttDef = MetaModel::GetAttributeDef($this->m_sClass, $sAttCode);
|
|
||||||
|
|
||||||
// skip the private key, if any
|
// skip the private key, if any
|
||||||
if ($sAttCode == 'id') continue;
|
if ($sAttCode == 'id') continue;
|
||||||
|
|
||||||
|
$oAttDef = MetaModel::GetAttributeDef($this->m_sClass, $sAttCode);
|
||||||
|
|
||||||
// skip reconciliation keys
|
// skip reconciliation keys
|
||||||
if (!$oAttDef->IsWritable() && in_array($sAttCode, $this->m_aReconcilKeys)){ continue; }
|
if (!$oAttDef->IsWritable() && in_array($sAttCode, $this->m_aReconcilKeys)){ continue; }
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user