Possible requestable fix

This commit is contained in:
snipe 2020-02-10 11:40:39 -08:00
parent 9eb4b0dda7
commit 81880645ed

View file

@ -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);