From a5889ed5eb24aa8dea8a4f02f93e0066fab98f8e Mon Sep 17 00:00:00 2001 From: Jon Bendtsen Date: Thu, 4 Apr 2024 23:04:57 +0200 Subject: [PATCH] ref_ext is parameter 3 --- htdocs/projet/class/api_projects.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'); }