Fix of an oversight when swapping parameters

This commit is contained in:
Jean Traullé 2018-08-26 21:57:07 +02:00
parent d348ac83bb
commit e0c2dd0c3c
No known key found for this signature in database
GPG Key ID: 5315BC7C950D912A

View File

@ -1131,7 +1131,7 @@ class Thirdparties extends DolibarrApi
$account->fetchFromApi($bankaccount_id, $id);
if($account->socid != $bankaccount_id){
if($account->socid != $id){
throw new RestException(401);
}