Skip to content

A free open source IT asset/license management system

Missed one spot in the importer

snipe083ea0e7470e
diff --git a/app/Importer/ComponentImporter.php b/app/Importer/ComponentImporter.php
index fc496712e4..bb8d7cee9b 100644
--- a/app/Importer/ComponentImporter.php
+++ b/app/Importer/ComponentImporter.php
@@ -64,6 +64,7 @@ class ComponentImporter extends ItemImporter
// normalizes "0"/"1"/"true"/"false"/"" so any of the common CSV
// shapes lands correctly.
$this->setItemFromCsvIfPresent($row, 'requestable');
+ $this->setItemFromCsvIfPresent($row, 'archived');
// asset_tag is not in Component's fillable but is used by the
// checkout-to-asset path in createComponentIfNotExists.