From f7fee10e234aeb8a4a4bf921296066c2435bb9ab Mon Sep 17 00:00:00 2001 From: Jon Bendtsen Date: Sun, 30 Nov 2025 12:03:57 +0100 Subject: [PATCH] 1 more pre-commit check fix --- htdocs/projet/class/api_tasks.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/projet/class/api_tasks.class.php b/htdocs/projet/class/api_tasks.class.php index 82a5214b743..d8a668faa25 100644 --- a/htdocs/projet/class/api_tasks.class.php +++ b/htdocs/projet/class/api_tasks.class.php @@ -553,7 +553,7 @@ class Tasks extends DolibarrApi if (!$taskresult ) { throw new RestException(404, 'Task with id='.$id.' not found'); } - if (!DolibarrApi::_checkAccessToResource('task',$this->task->id)) { + if (!DolibarrApi::_checkAccessToResource('task', $this->task->id)) { throw new RestException(403, 'Access not allowed for login '.DolibarrApiAccess::$user->login); }