mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 05:02:36 +01:00
fixes
This commit is contained in:
parent
72afe5912c
commit
f19d28a70a
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user