mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-01-18 14:53:14 +01:00
Fix several problems on new REST API on project/tasks
This commit is contained in:
@@ -432,6 +432,7 @@ class CommandeApi extends DolibarrApi
|
||||
throw new RestException(401, 'Access not allowed for login '.DolibarrApiAccess::$user->login);
|
||||
}
|
||||
foreach($request_data as $field => $value) {
|
||||
if ($field == 'id') continue;
|
||||
$this->commande->$field = $value;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user