diff --git a/app/Importer/ItemImporter.php b/app/Importer/ItemImporter.php index b68d9d5e8..7ff568a42 100644 --- a/app/Importer/ItemImporter.php +++ b/app/Importer/ItemImporter.php @@ -100,7 +100,7 @@ class ItemImporter extends Importer return $this->createOrFetchUser($row); } - if ($this->item['checkout_class'] === 'location') { + if (strtolower($this->item['checkout_class']) === 'location') { return Location::findOrFail($this->createOrFetchLocation($this->findCsvMatch($row, 'checkout_location'))); }