2
0
forked from Wavyzz/dolibarr

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

@@ -309,7 +309,7 @@ class Orders extends DolibarrApi
public function post($request_data = null)
{
if (!DolibarrApiAccess::$user->hasRight('commande', 'creer')) {
throw new RestException(403, "Insuffisant rights");
throw new RestException(403, "Insufficiant rights");
}
// Check mandatory fields
$result = $this->_validate($request_data);