forked from Wavyzz/dolibarr
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