// Fix PSCFV-3840

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@17136 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
rGaillard committed 2012-08-31 14:52:54 +00:00
1 parent 146abf31de
commit 6fbaafca4c
2 files changed
+4 -4

No files matched your search

+2 -2
View File
@@ -721,8 +721,8 @@ class AdminCartsControllerCore extends AdminController
{
$context = Context::getContext();
$context->cart = new Cart($id_cart);
$context->customer = new Customer($context->cart->id_customer);
return Cart::getTotalCart($id_cart, true);
$context->customer = new Customer((int)$context->cart->id_customer);
return Cart::getTotalCart($id_cart, true, Cart::BOTH_WITHOUT_SHIPPING);
}
public static function replaceZeroByShopName($echo, $tr)