From 39122e8f92b76586f7fa53c3b0e5acf40ad3c564 Mon Sep 17 00:00:00 2001 From: OSWorX Date: Tue, 22 Nov 2016 19:58:33 +0100 Subject: [PATCH] Update order.php Comment is not saved --- upload/catalog/controller/api/order.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/upload/catalog/controller/api/order.php b/upload/catalog/controller/api/order.php index 496e82dddcc..4f85f9d1c8c 100644 --- a/upload/catalog/controller/api/order.php +++ b/upload/catalog/controller/api/order.php @@ -694,7 +694,7 @@ public function edit() { $order_status_id = $this->config->get('config_order_status_id'); } - $this->model_checkout_order->addOrderHistory($order_id, $order_status_id); + $this->model_checkout_order->addOrderHistory($order_id, $order_status_id, $this->request->post['comment']); } } else { $json['error'] = $this->language->get('error_not_found'); @@ -839,4 +839,4 @@ public function history() { $this->response->addHeader('Content-Type: application/json'); $this->response->setOutput(json_encode($json)); } -} \ No newline at end of file +}