// small bug fix on BO orders

This commit is contained in:
dMetzger
2012-08-14 09:15:50 +00:00
parent 06aa7e859c
commit a1d1158af1
3 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -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;