Fixing style errors.
This commit is contained in:
parent
2751d5cefd
commit
9875e73ee2
@ -622,7 +622,7 @@ class Orders extends DolibarrApi
|
|||||||
if ($this->commande->availability($this->commande->availability_id) < 0)
|
if ($this->commande->availability($this->commande->availability_id) < 0)
|
||||||
throw new RestException(400, 'Error while updating availability');
|
throw new RestException(400, 'Error while updating availability');
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($this->commande->update(DolibarrApiAccess::$user) > 0)
|
if ($this->commande->update(DolibarrApiAccess::$user) > 0)
|
||||||
{
|
{
|
||||||
return $this->get($id);
|
return $this->get($id);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user