diff options
author | Andrew Seymour <commit@andrewseymour.co.uk> | 2011-12-14 16:35:06 +0100 |
---|---|---|
committer | Andrew Seymour <commit@andrewseymour.co.uk> | 2011-12-14 16:35:06 +0100 |
commit | 3a67ed15d984a341612af9e1dd9ba52f30d02e89 (patch) | |
tree | 520ef3793eab302dcb5162b17c7de58a272c706c | |
parent | f75ec11d7ed0592f930dd3a090db7c1c6d251eed (diff) |
Slight syntax change to the Cart class
-rw-r--r-- | system/libraries/Cart.php | 4 |
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; } |