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 | |
parent | 794eb1312931146c16d4c485541972ef1b2411cd (diff) |
[ci skip] Clear some whitespace
-rw-r--r-- | application/views/errors/html/error_php.php | 2 | ||||
-rw-r--r-- | system/libraries/Cart.php | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/application/views/errors/html/error_php.php b/application/views/errors/html/error_php.php index 9e765d452..a9fafe5fc 100644 --- a/application/views/errors/html/error_php.php +++ b/application/views/errors/html/error_php.php @@ -55,4 +55,4 @@ defined('BASEPATH') OR exit('No direct script access allowed'); <?php endif ?> -</div> +</div>
\ No newline at end of file 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; } |