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,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);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment