Skip to content

Commit

Permalink
Merge pull request #5038 from osworx/patch-19
Browse files Browse the repository at this point in the history
Update order.php
  • Loading branch information
danielkerr committed Dec 11, 2016
2 parents 84894f2 + 39122e8 commit d602118
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions upload/catalog/controller/api/order.php
Expand Up @@ -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');
Expand Down Expand Up @@ -839,4 +839,4 @@ public function history() {
$this->response->addHeader('Content-Type: application/json');
$this->response->setOutput(json_encode($json));
}
}
}

0 comments on commit d602118

Please sign in to comment.