diff --git a/app/Console/Commands/ObjectImportCommand.php b/app/Console/Commands/ObjectImportCommand.php index 288e45ec2c..616b700f43 100644 --- a/app/Console/Commands/ObjectImportCommand.php +++ b/app/Console/Commands/ObjectImportCommand.php @@ -568,7 +568,7 @@ class ObjectImportCommand extends Command { $asset->supplier_id = $supplier->id; $asset->notes = $item["notes"]; $asset->image = $asset_image; - + $this->assets->add($asset); if (!$this->option('testrun')) { if ($asset->save()) {