summaryrefslogtreecommitdiffstats
path: root/system/libraries/Cart.php
diff options
context:
space:
mode:
Diffstat (limited to 'system/libraries/Cart.php')
-rw-r--r--system/libraries/Cart.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/system/libraries/Cart.php b/system/libraries/Cart.php
index 7f6cdf5dd..717ccd9fb 100644
--- a/system/libraries/Cart.php
+++ b/system/libraries/Cart.php
@@ -505,7 +505,9 @@ class CI_Cart {
{
// reverse the array
$cart = array_reverse($this->_cart_contents);
- } else {
+ }
+ else
+ {
// just added first to last
$cart = $this->_cast_contents;
}