Fixed importer using previous row’s custom field

This commit is contained in:
snipe 2017-10-25 18:16:28 -07:00
parent 7dad71d2b6
commit e8847753f4

View file

@ -30,6 +30,8 @@ class AssetImporter extends ItemImporter
if ($customFieldValue) {
$this->item['custom_fields'][$customField->db_column_name()] = $customFieldValue;
$this->log('Custom Field '. $customField->name.': '.$customFieldValue);
} else {
$this->item['custom_fields'][$customField->db_column_name()] = '';
}
}
}