[-] FO : #PSFV-604 - Fix bug with undefined address on the cart (when the address is removed)

// Fix bug with multishipping when tax calculation use delivery address and not billing

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@13992 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
mDeflotte
2012-03-09 09:43:55 +00:00
parent 48e9590cf4
commit eb9795fc37
2 changed files with 48 additions and 12 deletions
+3
View File
@@ -248,6 +248,9 @@ class OrderControllerCore extends ParentOrderController
if (!$this->context->cart->update())
$this->errors[] = Tools::displayError('An error occurred while updating your cart.');
if (!$this->context->cart->isMultiAddressDelivery())
$this->context->cart->setNoMultishipping(); // As the cart is no multishipping, set each delivery address lines with the main delivery address
if (Tools::isSubmit('message'))
$this->_updateMessage(Tools::getValue('message'));
}