1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 05:02:36 +01:00
This commit is contained in:
David Bomba 2019-10-02 19:40:32 +10:00
parent 72afe5912c
commit f19d28a70a

View File

@ -13,6 +13,7 @@ namespace App\Repositories;
use App\Models\Client;
use App\Models\ClientContact;
use Illuminate\Support\Str;
/**
* ClientContactRepository
@ -57,7 +58,7 @@ class ClientContactRepository extends BaseRepository
$update_contact->client_id = $client->id;
$update_contact->company_id = $client->company_id;
$update_contact->user_id = $client->user_id;
$update_contact->contact_key = \Str::random(40);
$update_contact->contact_key = Str::random(40);
}
$update_contact->fill($contact);