mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 13:12:50 +01:00
Minor fixes
This commit is contained in:
parent
b38b0e4517
commit
2ac46b7392
@ -84,7 +84,7 @@ class InvitationController extends Controller
|
||||
->with($entity)
|
||||
->where('key', $invitation_key)
|
||||
->with('contact.client')
|
||||
->first();
|
||||
->firstOrFail();
|
||||
|
||||
if($invitation->{$entity}->is_deleted)
|
||||
return $this->render('generic.not_available', ['account' => $invitation->company->account, 'company' => $invitation->company]);
|
||||
|
Loading…
Reference in New Issue
Block a user