summaryrefslogtreecommitdiffstats
path: root/system/libraries
diff options
context:
space:
mode:
Diffstat (limited to 'system/libraries')
-rw-r--r--system/libraries/Cart.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/libraries/Cart.php b/system/libraries/Cart.php
index a0b782bb0..61223c597 100644
--- a/system/libraries/Cart.php
+++ b/system/libraries/Cart.php
@@ -517,7 +517,7 @@ class CI_Cart {
$this->_cart_contents['cart_total'] = 0;
$this->_cart_contents['total_items'] = 0;
- $this->CI->session->sess_destroy();
+ $this->CI->session->unset_userdata('cart_contents');
}