diff --git a/htdocs/webservices/server_thirdparty.php b/htdocs/webservices/server_thirdparty.php index 1e3ee7cedca..49f303a7c1a 100755 --- a/htdocs/webservices/server_thirdparty.php +++ b/htdocs/webservices/server_thirdparty.php @@ -571,7 +571,7 @@ function updateThirdParty($authentication,$thirdparty) $db->begin(); - $result=$object->update($fuser); + $result=$object->update($thirdparty['id'],$fuser); if ($result <= 0) { $error++; }