// Debug
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@15102 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -910,7 +910,6 @@ class CartRuleCore extends ObjectModel
|
|||||||
{
|
{
|
||||||
if ($error = $cart_rule['obj']->checkValidity($context, true))
|
if ($error = $cart_rule['obj']->checkValidity($context, true))
|
||||||
{
|
{
|
||||||
file_put_contents('zzzploplop.txt', $error."\n", FILE_APPEND);
|
|
||||||
$context->cart->removeCartRule($cart_rule['obj']->id);
|
$context->cart->removeCartRule($cart_rule['obj']->id);
|
||||||
$context->cart->update();
|
$context->cart->update();
|
||||||
$errors[] = $error;
|
$errors[] = $error;
|
||||||
|
|||||||
Reference in New Issue
Block a user