Skip to content

Commit

Permalink
Merge pull request #12538 from nick-vanpraet/bugfix/broken-import-queue
Browse files Browse the repository at this point in the history
Switching contact import to finish in background causes 500
  • Loading branch information
escopecz committed Jul 19, 2023
2 parents 221f00d + bed041e commit 0d57617
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/bundles/LeadBundle/Controller/ImportController.php
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ public function queueAction()
$initEvent = $this->dispatchImportOnInit();
$object = $initEvent->objectSingular;
$fullPath = $this->getFullCsvPath($object);
$import = $$this->importModel->getEntity($this->session->get('mautic.lead.import.id', null));
$import = $this->importModel->getEntity($this->session->get('mautic.lead.import.id', null));

if ($import) {
$import->setStatus($import::QUEUED);
Expand Down

0 comments on commit 0d57617

Please sign in to comment.