From 9875e73ee2169d0ed9dca59f91cb25e203438b49 Mon Sep 17 00:00:00 2001 From: stickler-ci Date: Thu, 3 Dec 2020 15:04:48 +0000 Subject: [PATCH] Fixing style errors. --- htdocs/commande/class/api_orders.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/commande/class/api_orders.class.php b/htdocs/commande/class/api_orders.class.php index 3442b9316f7..71a26eea698 100644 --- a/htdocs/commande/class/api_orders.class.php +++ b/htdocs/commande/class/api_orders.class.php @@ -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);