diff options
author | Andrey Andreev <narf@bofh.bg> | 2012-02-22 18:45:08 +0100 |
---|---|---|
committer | Andrey Andreev <narf@bofh.bg> | 2012-02-22 18:45:08 +0100 |
commit | cf8bb891df6f42850f57d715ab14af81c9fbd960 (patch) | |
tree | 302e0dc0bc12a847bcf6d3c778ac0ed1684b3642 /system/libraries | |
parent | a286c8a837422b5f582c3c391dc2805a500b1532 (diff) | |
parent | e2675736f3a68b1f64e135d827f6a70e0ae892fb (diff) |
Merge upstream branch
Diffstat (limited to 'system/libraries')
-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) |