diff --git a/htdocs/societe/class/api_thirdparties.class.php b/htdocs/societe/class/api_thirdparties.class.php index 10a78aa51d2..008a7388c8c 100644 --- a/htdocs/societe/class/api_thirdparties.class.php +++ b/htdocs/societe/class/api_thirdparties.class.php @@ -1237,7 +1237,7 @@ class Thirdparties extends DolibarrApi if($result->num_rows == 0 ){ throw new RestException(404, 'Account not found'); - } + } $i=0;