summaryrefslogtreecommitdiffstats
path: root/system/libraries
diff options
context:
space:
mode:
authorPhil Sturgeon <email@philsturgeon.co.uk>2012-02-17 10:44:04 +0100
committerPhil Sturgeon <email@philsturgeon.co.uk>2012-02-17 10:44:04 +0100
commitce1190fe5802ef9df9402d85949a8b05c3db6fe5 (patch)
treeb813a508c3d7e4f689d100e0304e5343c487e142 /system/libraries
parent827a92a6965612b185ae2e6766b6fb7740cd0cc2 (diff)
parent287dd450911251c3dc4d744c2e03fcd5d8a5b173 (diff)
Merge pull request #1050 from marcosgdf/develop
Can you add this to the changelog please?
Diffstat (limited to 'system/libraries')
-rw-r--r--system/libraries/Cart.php7
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)