mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-07 21:24: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);
|
}, 1);
|
||||||
|
|
||||||
|
if(!$this->invoice)
|
||||||
|
return;
|
||||||
|
|
||||||
/* Create Payment */
|
/* Create Payment */
|
||||||
$payment = PaymentFactory::create($this->invoice->company_id, $this->invoice->user_id);
|
$payment = PaymentFactory::create($this->invoice->company_id, $this->invoice->user_id);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user