Added changelog entry.
An example to the docs.
Tidy code a little bit.
diff --git a/system/libraries/Cart.php b/system/libraries/Cart.php
index 8a2516f..ec67d9b 100644
--- a/system/libraries/Cart.php
+++ b/system/libraries/Cart.php
@@ -358,10 +358,8 @@
 				$items['price'] = (float) $items['price'];
 			}
 			
-			// product name & id shouldn't be changed
-			$keys = array_diff($keys, array('id', 'name'));			
-			
-			foreach ($keys as $key) 
+			// product id & name shouldn't be changed			
+			foreach (array_diff($keys, array('id', 'name')) as $key) 
 			{
 				$this->_cart_contents[$items['rowid']][$key] = $items[$key];
 			}