Fix: When creating a personal third party, email was lost
This commit is contained in:
parent
c197d3c9ed
commit
c46a35292b
@ -167,7 +167,8 @@ if ((! $_POST["getcustomercode"] && ! $_POST["getsuppliercode"])
|
||||
$contact->fk_pays=$soc->fk_pays;
|
||||
$contact->socid=$soc->id; // fk_soc
|
||||
$contact->status=1;
|
||||
$contact->priv=0;
|
||||
$contact->email=$soc->email;
|
||||
$contact->priv=0;
|
||||
|
||||
$result=$contact->create($user);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user