mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-24 21:24:13 -08:00
Convert whatever value we get in column 'checkout type' to all lowercase
This commit is contained in:
parent
c6b3fc219c
commit
f1b8b7d11d
|
@ -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')));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue