mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-01-06 09:02:59 +01:00
Clean code
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user