Skip to content
Snippets Groups Projects
Commit 834a6dc2 authored by Florian Henry's avatar Florian Henry
Browse files

webservice Thirdparty parameter lastname for invidual creation is now

lastname and not ref 
parent d846dd24
No related branches found
No related tags found
No related merge requests found
......@@ -11,6 +11,7 @@ English Dolibarr ChangeLog
- Fix: right and error management #1961
- Fix: Fix Error when trying to clone an Order #1943
- Fix: [ bug #1618 ] PHP Error thrown when saving a barcode
- Fix: webservice Thirdparty parameter lastname for invidual creation is now lastname and not ref
***** ChangeLog for 3.6.1 compared to 3.6.* *****
For users:
......
......@@ -460,7 +460,7 @@ function createThirdParty($authentication,$thirdparty)
$result=$newobject->create($fuser);
if ($newobject->particulier && $result > 0) {
$newobject->firstname = $thirdparty['firstname'];
$newobject->name_bis = $thirdparty['ref'];
$newobject->name_bis = $thirdparty['lastname'];
$result = $newobject->create_individual($fuser);
}
if ($result <= 0)
......
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