From db3e49d2a932eca5910b0fc89c87d28c1d6b7bb1 Mon Sep 17 00:00:00 2001 From: Andrey Andreev Date: Mon, 17 Mar 2014 11:04:55 +0200 Subject: [ci skip] Clear some whitespace --- system/libraries/Cart.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'system/libraries/Cart.php') diff --git a/system/libraries/Cart.php b/system/libraries/Cart.php index cd46a6ef6..4441db4dd 100644 --- a/system/libraries/Cart.php +++ b/system/libraries/Cart.php @@ -348,8 +348,8 @@ class CI_Cart { unset($this->_cart_contents[$items['rowid']]); return TRUE; } - } - + } + // find updatable keys $keys = array_intersect(array_keys($this->_cart_contents[$items['rowid']]), array_keys($items)); // if a price was passed, make sure it contains valid data @@ -362,7 +362,7 @@ class CI_Cart { foreach (array_diff($keys, array('id', 'name')) as $key) { $this->_cart_contents[$items['rowid']][$key] = $items[$key]; - } + } return TRUE; } -- cgit v1.2.3-24-g4f1b