mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-14 08:54:21 +01:00
Fix of an oversight when swapping parameters
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user