From 81880645ed06561cdd5ee17776dec39d61bb0ce8 Mon Sep 17 00:00:00 2001 From: snipe Date: Mon, 10 Feb 2020 11:40:39 -0800 Subject: [PATCH] Possible requestable fix --- app/Importer/AssetImporter.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/Importer/AssetImporter.php b/app/Importer/AssetImporter.php index 37dc21ca9..13b51c84a 100644 --- a/app/Importer/AssetImporter.php +++ b/app/Importer/AssetImporter.php @@ -76,6 +76,7 @@ class AssetImporter extends ItemImporter } $this->item['image'] = $this->findCsvMatch($row, "image"); + $this->item['requestable'] = (bool) $this->findCsvMatch($row, "requestable"); $this->item['warranty_months'] = intval($this->findCsvMatch($row, "warranty_months")); $this->item['model_id'] = $this->createOrFetchAssetModel($row);