// Change commentary "the the cart" for "the cart"
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@14380 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
1 parent
a5dcb4295f
commit
75763f08a1
1 file changed
+2
-2
+2
-2
@@ -254,7 +254,7 @@ class CartCore extends ObjectModel
|
|||||||
if (Configuration::get('PS_TAX_ADDRESS_TYPE') == 'id_address_invoice')
|
if (Configuration::get('PS_TAX_ADDRESS_TYPE') == 'id_address_invoice')
|
||||||
$address_id = (int)$cart->id_address_invoice;
|
$address_id = (int)$cart->id_address_invoice;
|
||||||
else
|
else
|
||||||
$address_id = (int)$product->id_address_delivery; // Get delivery address of the product from the the cart
|
$address_id = (int)$product->id_address_delivery; // Get delivery address of the product from the cart
|
||||||
if (!Address::addressExists($address_id))
|
if (!Address::addressExists($address_id))
|
||||||
$address_id = null;
|
$address_id = null;
|
||||||
|
|
||||||
@@ -1292,7 +1292,7 @@ class CartCore extends ObjectModel
|
|||||||
if (Configuration::get('PS_TAX_ADDRESS_TYPE') == 'id_address_invoice')
|
if (Configuration::get('PS_TAX_ADDRESS_TYPE') == 'id_address_invoice')
|
||||||
$address_id = (int)$this->id_address_invoice;
|
$address_id = (int)$this->id_address_invoice;
|
||||||
else
|
else
|
||||||
$address_id = (int)$product['id_address_delivery']; // Get delivery address of the product from the the cart
|
$address_id = (int)$product['id_address_delivery']; // Get delivery address of the product from the cart
|
||||||
if (!Address::addressExists($address_id))
|
if (!Address::addressExists($address_id))
|
||||||
$address_id = null;
|
$address_id = null;
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user