Skip to content

Commit

Permalink
https://github.com/opencart/opencart/issues/2248
Browse files Browse the repository at this point in the history
  • Loading branch information
danielkerr committed Nov 11, 2014
1 parent a5fb7e7 commit 39adfcb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions upload/catalog/controller/checkout/confirm.php
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ public function index() {
$order_data['payment_country'] = $this->session->data['payment_address']['country'];
$order_data['payment_country_id'] = $this->session->data['payment_address']['country_id'];
$order_data['payment_address_format'] = $this->session->data['payment_address']['address_format'];
$order_data['payment_custom_field'] = $this->session->data['payment_address']['custom_field'];
$order_data['payment_custom_field'] = (isset($this->session->data['payment_address']['custom_field']) ? $this->session->data['payment_address']['custom_field'] : array());

if (isset($this->session->data['payment_method']['title'])) {
$order_data['payment_method'] = $this->session->data['payment_method']['title'];
Expand All @@ -163,7 +163,7 @@ public function index() {
$order_data['shipping_country'] = $this->session->data['shipping_address']['country'];
$order_data['shipping_country_id'] = $this->session->data['shipping_address']['country_id'];
$order_data['shipping_address_format'] = $this->session->data['shipping_address']['address_format'];
$order_data['shipping_custom_field'] = $this->session->data['shipping_address']['custom_field'];
$order_data['shipping_custom_field'] = (isset($this->session->data['shipping_address']['custom_field']) ? $this->session->data['shipping_address']['custom_field'] : array());

if (isset($this->session->data['shipping_method']['title'])) {
$order_data['shipping_method'] = $this->session->data['shipping_method']['title'];
Expand Down

0 comments on commit 39adfcb

Please sign in to comment.