diff options
author | Andrey Andreev <narf@bofh.bg> | 2012-02-28 13:48:55 +0100 |
---|---|---|
committer | Andrey Andreev <narf@bofh.bg> | 2012-02-28 13:48:55 +0100 |
commit | 575bbfe97e4f0e3ad88558454fb2c87d372a7651 (patch) | |
tree | eec271f209f8a7539b3b519be3a68e067f24562a /system/libraries/Cart.php | |
parent | d33e24c2a649420d420ad9b11efb1bbf2421114c (diff) | |
parent | 0aa8c60ae7eee0122c42ae17d42fd5471a575743 (diff) |
Merge remote-tracking branch 'upstream/develop' into develop-db-sqlite
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) |