1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 21:22:58 +01:00

Merge pull request #5746 from turbo124/v5-develop

Fixes for system logger constructor
This commit is contained in:
David Bomba 2021-05-19 12:47:37 +10:00 committed by GitHub
commit 3459f18ece
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -44,10 +44,13 @@ class SystemLogger implements ShouldQueue
$this->event_id = $event_id;
$this->type_id = $type_id;
$this->client = $client;
$this->company = $company;
}
public function handle() :void
{
if(!$this->company)
return;
MultiDB::setDb($this->company->db);