diff options
author | Andrey Andreev <narf@devilix.net> | 2014-03-17 10:04:55 +0100 |
---|---|---|
committer | Andrey Andreev <narf@devilix.net> | 2014-03-17 10:04:55 +0100 |
commit | db3e49d2a932eca5910b0fc89c87d28c1d6b7bb1 (patch) | |
tree | 6e97dbd0ff54a79b7979c087e8d1ab1b3f889f90 /system | |
parent | 794eb1312931146c16d4c485541972ef1b2411cd (diff) |
[ci skip] Clear some whitespace
Diffstat (limited to 'system')
-rw-r--r-- | system/libraries/Cart.php | 6 |
1 files changed, 3 insertions, 3 deletions
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; } |