Skip to content
Permalink
Browse files Browse the repository at this point in the history
https://github.com/opencart/opencart/issues/4114
  • Loading branch information
danielkerr committed Mar 14, 2016
1 parent 5c49d5d commit b95044d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions upload/admin/model/openbay/amazon.php
Expand Up @@ -493,9 +493,9 @@ public function getOrderStatusString($order_id) {
public function updateAmazonOrderTracking($order_id, $courier_id, $courier_from_list, $tracking_no) {
$this->db->query("
UPDATE `" . DB_PREFIX . "amazon_order`
SET `courier_id` = '" . $courier_id . "',
SET `courier_id` = '" . $this->db->escape($courier_id) . "',
`courier_other` = " . (int)!$courier_from_list . ",
`tracking_no` = '" . $tracking_no . "'
`tracking_no` = '" . $this->db->escape($tracking_no) . "'
WHERE `order_id` = " . (int)$order_id . "");
}

Expand Down

0 comments on commit b95044d

Please sign in to comment.