mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-26 14:09:43 -08:00
Update app/Importer/ItemImporter.php
Co-authored-by: Marcus Moore <contact@marcusmoore.io>
This commit is contained in:
parent
758d3aadb4
commit
316c90c144
|
@ -372,7 +372,7 @@ class ItemImporter extends Importer
|
||||||
if (empty($asset_statuslabel_name)) {
|
if (empty($asset_statuslabel_name)) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
$status = Statuslabel::where(['name' => trim($asset_statuslabel_name]))->first();
|
$status = Statuslabel::where(['name' => trim($asset_statuslabel_name)])->first();
|
||||||
|
|
||||||
if ($status) {
|
if ($status) {
|
||||||
$this->log('A matching Status '.$asset_statuslabel_name.' already exists');
|
$this->log('A matching Status '.$asset_statuslabel_name.' already exists');
|
||||||
|
|
Loading…
Reference in a new issue