From e8847753f4752109f439bfc38ce7e1191f6a71d9 Mon Sep 17 00:00:00 2001 From: snipe Date: Wed, 25 Oct 2017 18:16:28 -0700 Subject: [PATCH] =?UTF-8?q?Fixed=20importer=20using=20previous=20row?= =?UTF-8?q?=E2=80=99s=20custom=20field?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Importer/AssetImporter.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/Importer/AssetImporter.php b/app/Importer/AssetImporter.php index 9bf15acf30..7518663098 100644 --- a/app/Importer/AssetImporter.php +++ b/app/Importer/AssetImporter.php @@ -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()] = ''; } } }