Fixing style errors.

This commit is contained in:
stickler-ci
2020-12-03 15:04:48 +00:00
parent 2751d5cefd
commit 9875e73ee2

View File

@@ -622,7 +622,7 @@ class Orders extends DolibarrApi
if ($this->commande->availability($this->commande->availability_id) < 0)
throw new RestException(400, 'Error while updating availability');
}
if ($this->commande->update(DolibarrApiAccess::$user) > 0)
{
return $this->get($id);