// small bug fix on BO orders
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@16842 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -188,7 +188,7 @@ class AdminCartsControllerCore extends AdminController
|
||||
$this->context->customer = $customer;
|
||||
$id_cart = (int)Tools::getValue('id_cart');
|
||||
if (!$id_cart)
|
||||
$id_cart = $customer->getLastCart();
|
||||
$id_cart = $customer->getLastCart(false);
|
||||
$this->context->cart = new Cart((int)$id_cart);
|
||||
if (!$this->context->cart->id_customer)
|
||||
$this->context->cart->id_customer = $id_customer;
|
||||
|
||||
Reference in New Issue
Block a user