From 42f2dddf8e3df52cb5ce77c71decb30cc636d80e Mon Sep 17 00:00:00 2001 From: Rob Gloudemans Date: Sat, 1 Mar 2014 19:56:04 +0100 Subject: [PATCH] Fixed bug --- src/Gloudemans/Shoppingcart/Cart.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Gloudemans/Shoppingcart/Cart.php b/src/Gloudemans/Shoppingcart/Cart.php index bcc6409..f385813 100644 --- a/src/Gloudemans/Shoppingcart/Cart.php +++ b/src/Gloudemans/Shoppingcart/Cart.php @@ -428,7 +428,6 @@ class Cart { protected function updateQty($rowId, $qty) { if($qty <= 0) - if($qty == 0) { return $this->remove($rowId); } @@ -461,4 +460,4 @@ class Cart { return is_array($first); } -} \ No newline at end of file +}