Skip to content

A free open source IT asset/license management system

Possible requestable fix

snipe81880645ed06
diff --git a/app/Importer/AssetImporter.php b/app/Importer/AssetImporter.php
index 37dc21ca94..13b51c84aa 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);