This commit is contained in:
dMetzger committed 2012-05-09 13:28:26 +00:00
1 parent b943b9fbe3
commit a945576c0b
1 file changed
-1
-1
View File
@@ -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;