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

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);
}