diff options
author | Andrey Andreev <narf@bofh.bg> | 2012-02-22 18:48:45 +0100 |
---|---|---|
committer | Andrey Andreev <narf@bofh.bg> | 2012-02-22 18:48:45 +0100 |
commit | bcdcc3f3d2973ee23a35baffa6b5928772e20c8a (patch) | |
tree | 2c16baf2ceb5a76032348ec1f646021c1237c40d /system/libraries/Cart.php | |
parent | 55ab7646306ea150950df696b5db7ccc737ae965 (diff) | |
parent | e2675736f3a68b1f64e135d827f6a70e0ae892fb (diff) |
Merge upstream branch
Diffstat (limited to 'system/libraries/Cart.php')
-rw-r--r-- | system/libraries/Cart.php | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/system/libraries/Cart.php b/system/libraries/Cart.php index ba8d69be2..10b5362a5 100644 --- a/system/libraries/Cart.php +++ b/system/libraries/Cart.php @@ -329,13 +329,6 @@ class CI_Cart { return FALSE; } - // Is the new quantity different than what is already saved in the cart? - // If it's the same there's nothing to do - if ($this->_cart_contents[$items['rowid']]['qty'] == $items['qty']) - { - return FALSE; - } - // Is the quantity zero? If so we will remove the item from the cart. // If the quantity is greater than zero we are updating if ($items['qty'] == 0) |