Fixed importer using previous row’s custom field
This commit is contained in:
parent
7dad71d2b6
commit
e8847753f4
1 changed files with 2 additions and 0 deletions
|
@ -30,6 +30,8 @@ class AssetImporter extends ItemImporter
|
||||||
if ($customFieldValue) {
|
if ($customFieldValue) {
|
||||||
$this->item['custom_fields'][$customField->db_column_name()] = $customFieldValue;
|
$this->item['custom_fields'][$customField->db_column_name()] = $customFieldValue;
|
||||||
$this->log('Custom Field '. $customField->name.': '.$customFieldValue);
|
$this->log('Custom Field '. $customField->name.': '.$customFieldValue);
|
||||||
|
} else {
|
||||||
|
$this->item['custom_fields'][$customField->db_column_name()] = '';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue