Fix of an oversight when swapping parameters
This commit is contained in:
parent
d348ac83bb
commit
e0c2dd0c3c
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue