diff --git a/htdocs/projet/class/api_projects.class.php b/htdocs/projet/class/api_projects.class.php index 2cbd28bb7e3..96dee927ac9 100644 --- a/htdocs/projet/class/api_projects.class.php +++ b/htdocs/projet/class/api_projects.class.php @@ -137,7 +137,7 @@ class Projects extends DolibarrApi throw new RestException(403); } - $result = $this->project->fetch('', $ref_ext); + $result = $this->project->fetch('', '', $ref_ext); if (!$result) { throw new RestException(404, 'Project with supplied ref_ext not found'); }