Clean code

This commit is contained in:
ldestailleur
2025-09-11 12:25:22 +02:00
parent af74f2c057
commit 702d91c65d
16 changed files with 24 additions and 24 deletions

View File

@@ -313,7 +313,7 @@ class Projects extends DolibarrApi
{
global $conf;
if (!DolibarrApiAccess::$user->hasRight('projet', 'creer')) {
throw new RestException(403, "Insuffisant rights");
throw new RestException(403, "Insufficiant rights");
}
// Check mandatory fields
$result = $this->_validate($request_data);