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;
 		}