summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--application/views/errors/html/error_php.php2
-rw-r--r--system/libraries/Cart.php6
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;
}