mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-07 17:34:29 -04:00
Safety return for missing invoice
This commit is contained in:
parent
0784bdaef3
commit
08d1672258
@ -260,6 +260,9 @@ class MatchBankTransactions implements ShouldQueue
|
||||
|
||||
}, 1);
|
||||
|
||||
if(!$this->invoice)
|
||||
return;
|
||||
|
||||
/* Create Payment */
|
||||
$payment = PaymentFactory::create($this->invoice->company_id, $this->invoice->user_id);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user