Skip to content
Snippets Groups Projects
Commit c46a3529 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Fix: When creating a personal third party, email was lost

parent c197d3c9
No related branches found
No related tags found
No related merge requests found
...@@ -167,6 +167,7 @@ if ((! $_POST["getcustomercode"] && ! $_POST["getsuppliercode"]) ...@@ -167,6 +167,7 @@ if ((! $_POST["getcustomercode"] && ! $_POST["getsuppliercode"])
$contact->fk_pays=$soc->fk_pays; $contact->fk_pays=$soc->fk_pays;
$contact->socid=$soc->id; // fk_soc $contact->socid=$soc->id; // fk_soc
$contact->status=1; $contact->status=1;
$contact->email=$soc->email;
$contact->priv=0; $contact->priv=0;
$result=$contact->create($user); $result=$contact->create($user);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment