// fix bug with missing $context->cart and $context->customer durring payment process

This commit is contained in:
mDeflotte
2012-02-07 17:15:44 +00:00
parent d8bcba6e7e
commit efa29051ff
3 changed files with 12 additions and 6 deletions
+1
View File
@@ -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;