mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-07 16:41:48 +01:00
Fix scrutinizer
This commit is contained in:
@@ -419,7 +419,7 @@ class Orders extends DolibarrApi
|
||||
throw new RestException(400, 'Error while updating availability');
|
||||
}
|
||||
|
||||
if ($this->commande->update($id, DolibarrApiAccess::$user, 1, '', '', 'update'))
|
||||
if ($this->commande->update(DolibarrApiAccess::$user, 1, '', '', 'update'))
|
||||
return $this->get($id);
|
||||
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user