From f8b9891c853c81a5d854b7e6d7c8e5a3ba75128d Mon Sep 17 00:00:00 2001 From: Andreas Schempp Date: Thu, 29 Jun 2017 10:16:40 +0200 Subject: [PATCH] Always store the country in order addresses (#1811) --- .../isotope/library/Isotope/Model/ProductCollection.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/system/modules/isotope/library/Isotope/Model/ProductCollection.php b/system/modules/isotope/library/Isotope/Model/ProductCollection.php index eb517ea5f7..d50cf7b7b1 100644 --- a/system/modules/isotope/library/Isotope/Model/ProductCollection.php +++ b/system/modules/isotope/library/Isotope/Model/ProductCollection.php @@ -1846,7 +1846,8 @@ protected function createPrivateAddresses() ) { $arrData = array_intersect_key( $objBillingAddress->row(), - array_flip($billingFields) + array_flip($billingFields), + ['country' => ''] ); $objNew = new Address(); @@ -1873,7 +1874,8 @@ protected function createPrivateAddresses() ) { $arrData = array_intersect_key( $objShippingAddress->row(), - array_flip($shippingFields) + array_flip($shippingFields), + ['country' => ''] ); $objNew = new Address();