Skip to content

Commit

Permalink
Always store the country in order addresses (#1811)
Browse files Browse the repository at this point in the history
  • Loading branch information
aschempp committed Jun 29, 2017
1 parent 747fa19 commit f8b9891
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1846,7 +1846,8 @@ protected function createPrivateAddresses()
) {
$arrData = array_intersect_key(
$objBillingAddress->row(),
array_flip($billingFields)
array_flip($billingFields),
['country' => '']
);

$objNew = new Address();
Expand All @@ -1873,7 +1874,8 @@ protected function createPrivateAddresses()
) {
$arrData = array_intersect_key(
$objShippingAddress->row(),
array_flip($shippingFields)
array_flip($shippingFields),
['country' => '']
);

$objNew = new Address();
Expand Down

0 comments on commit f8b9891

Please sign in to comment.