mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-31 06:04:34 -04: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\Client;
|
||||||
use App\Models\ClientContact;
|
use App\Models\ClientContact;
|
||||||
|
use Illuminate\Support\Str;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* ClientContactRepository
|
* ClientContactRepository
|
||||||
@ -57,7 +58,7 @@ class ClientContactRepository extends BaseRepository
|
|||||||
$update_contact->client_id = $client->id;
|
$update_contact->client_id = $client->id;
|
||||||
$update_contact->company_id = $client->company_id;
|
$update_contact->company_id = $client->company_id;
|
||||||
$update_contact->user_id = $client->user_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);
|
$update_contact->fill($contact);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user