1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-13 06:32:40 +01:00

Fixes for logging in company import

This commit is contained in:
David Bomba 2021-06-08 07:45:40 +10:00
parent b29c9f25e3
commit 60e44c127c

View File

@ -151,6 +151,8 @@ class CompanyImport implements ShouldQueue
$this->company = Company::where('company_key', $this->company->company_key)->firstOrFail();
$this->account = $this->company->account;
nlog("Company ID = {$this->company->id}");
$this->backup_file = Cache::get($this->hash);
if ( empty( $this->backup_file ) )