commit | 3a67ed15d984a341612af9e1dd9ba52f30d02e89 | [log] [tgz] |
---|---|---|
author | Andrew Seymour <commit@andrewseymour.co.uk> | Wed Dec 14 15:35:06 2011 +0000 |
committer | Andrew Seymour <commit@andrewseymour.co.uk> | Wed Dec 14 15:35:06 2011 +0000 |
tree | 520ef3793eab302dcb5162b17c7de58a272c706c | |
parent | f75ec11d7ed0592f930dd3a090db7c1c6d251eed [diff] |
Slight syntax change to the Cart class
diff --git a/system/libraries/Cart.php b/system/libraries/Cart.php index 7f6cdf5..717ccd9 100644 --- a/system/libraries/Cart.php +++ b/system/libraries/Cart.php
@@ -505,7 +505,9 @@ { // reverse the array $cart = array_reverse($this->_cart_contents); - } else { + } + else + { // just added first to last $cart = $this->_cast_contents; }