From c36236b7dc7aada1f85417310cc217f186a5b2b2 Mon Sep 17 00:00:00 2001 From: Godfrey M Date: Tue, 28 Oct 2025 11:37:38 -0700 Subject: [PATCH] add is_null acheck to import hanlder for custom fields --- app/Importer/AssetImporter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Importer/AssetImporter.php b/app/Importer/AssetImporter.php index 1d03d6f95b..86cb8e5d02 100644 --- a/app/Importer/AssetImporter.php +++ b/app/Importer/AssetImporter.php @@ -40,7 +40,7 @@ class AssetImporter extends ItemImporter // ItemImporter handles the general fetching. parent::handle($row); - if ($this->customFields) { + if (!is_null($this->customFields)) { foreach ($this->customFields as $customField) { $customFieldValue = $this->array_smart_custom_field_fetch($row, $customField);