// fix bug with missing $context->cart and $context->customer durring payment process
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@13089 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -87,6 +87,7 @@ abstract class PaymentModuleCore extends Module
|
||||
$secure_key = false, Shop $shop = null)
|
||||
{
|
||||
$cart = new Cart($id_cart);
|
||||
$this->context->cart = $cart;
|
||||
|
||||
if (!$shop)
|
||||
$shop = Context::getContext()->shop;
|
||||
|
||||
Reference in New Issue
Block a user