// Order processing bugs fixed

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@10603 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
dMetzger
2011-11-23 21:02:51 +00:00
parent e5d25eea83
commit 7648f8ece0
4 changed files with 10 additions and 5 deletions
+1
View File
@@ -277,6 +277,7 @@ class AuthControllerCore extends FrontController
$this->context->cart->setDeliveryOption(null);
$this->context->cart->id_address_delivery = Address::getFirstCustomerAddressId((int)($customer->id));
$this->context->cart->id_address_invoice = Address::getFirstCustomerAddressId((int)($customer->id));
$this->context->cart->secure_key = $customer->secure_key;
$this->context->cart->update();
// Add customer to the context
$this->context->customer = $customer;