diff --git a/app/Console/Commands/ObjectImportCommand.php b/app/Console/Commands/ObjectImportCommand.php index 203a36d552..1dcc141a67 100644 --- a/app/Console/Commands/ObjectImportCommand.php +++ b/app/Console/Commands/ObjectImportCommand.php @@ -103,7 +103,8 @@ class ObjectImportCommand extends Command $this->accessories = Accessory::All(['name']); $this->consumables = Consumable::All(['name']); $this->customfields = CustomField::All(['name']); - $bar = null; + $bar = null; + if (!$this->option('web-importer')) { $bar = $this->output->createProgressBar(count($newarray)); }