mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-24 02:14:21 -04:00
Minor Fixes
This commit is contained in:
parent
ddc949c260
commit
0ac294eaf0
@ -89,7 +89,7 @@ class InvoiceController extends Controller
|
||||
$data = Cache::get($hash);
|
||||
$invitation = false;
|
||||
|
||||
match($data['entity_type']){
|
||||
match($data['entity_type'] ?? false){
|
||||
'invoice' => $invitation = InvoiceInvitation::withTrashed()->find($data['invitation_id']),
|
||||
'quote' => $invitation = QuoteInvitation::withTrashed()->find($data['invitation_id']),
|
||||
'credit' => $invitation = CreditInvitation::withTrashed()->find($data['invitation_id']),
|
||||
|
Loading…
x
Reference in New Issue
Block a user