Update app/Importer/ItemImporter.php

Co-authored-by: Marcus Moore <contact@marcusmoore.io>
This commit is contained in:
snipe 2023-10-30 14:17:27 +00:00 committed by GitHub
parent 758d3aadb4
commit 316c90c144
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -372,7 +372,7 @@ class ItemImporter extends Importer
if (empty($asset_statuslabel_name)) {
return null;
}
$status = Statuslabel::where(['name' => trim($asset_statuslabel_name]))->first();
$status = Statuslabel::where(['name' => trim($asset_statuslabel_name)])->first();
if ($status) {
$this->log('A matching Status '.$asset_statuslabel_name.' already exists');