Fix BaseRepository

Fix BaseRepository (remove useless ";")
This commit is contained in:
Clément Gayot 2020-10-17 01:32:53 +02:00 committed by GitHub
parent 2e233a6437
commit b7470798d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -265,7 +265,7 @@ class BaseRepository
//make sure we are creating an invite for a contact who belongs to the client only!
$contact = ClientContact::find($invitation['client_contact_id']);
if ($contact && $model->client_id == $contact->client_id);
if ($contact && $model->client_id == $contact->client_id)
{
$invitation_class = sprintf('App\\Models\\%sInvitation', $resource);