From 71c9b037790a8067aa87276acd6a02269405df74 Mon Sep 17 00:00:00 2001 From: snipe Date: Wed, 19 Jun 2024 11:05:22 +0100 Subject: [PATCH] Fixed incorrect field name Signed-off-by: snipe --- 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 40dbf87f2..6b3f2f1d0 100644 --- a/app/Importer/AssetImporter.php +++ b/app/Importer/AssetImporter.php @@ -102,7 +102,7 @@ class AssetImporter extends ItemImporter $this->item['expected_checkin'] = trim($this->findCsvMatch($row, 'expected_checkin')); $this->item['last_audit_date'] = trim($this->findCsvMatch($row, 'last_audit_date')); $this->item['next_audit_date'] = trim($this->findCsvMatch($row, 'next_audit_date')); - $this->item['asset_eol_date'] = trim($this->findCsvMatch($row, 'next_audit_date')); + $this->item['asset_eol_date'] = trim($this->findCsvMatch($row, 'asset_eol_date')); $this->item['asset_tag'] = $asset_tag; // We need to save the user if it exists so that we can checkout to user later.