Skip to content

Commit

Permalink
webservice Thirdparty parameter lastname for invidual creation is now
Browse files Browse the repository at this point in the history
lastname and not ref
  • Loading branch information
FHenry committed Oct 28, 2014
1 parent d846dd2 commit 834a6dc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions ChangeLog
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion htdocs/webservices/server_thirdparty.php
Expand Up @@ -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)
Expand Down

0 comments on commit 834a6dc

Please sign in to comment.