// Debug
This commit is contained in:
1 parent
1642ebb68a
commit
efe152b26c
1 file changed
-1
@@ -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