summaryrefslogtreecommitdiffstats
path: root/system/libraries/Cart.php
diff options
context:
space:
mode:
authorEdwin Aw <tkaw220@gmail.com>2013-01-25 09:12:20 +0100
committerEdwin Aw <tkaw220@gmail.com>2013-01-25 09:12:20 +0100
commitedc9afa09b01f67089f121ed7054fe3a5a3b8ec2 (patch)
tree2c4b42dfd9eda105600bb3f589a3f8e18b9dc912 /system/libraries/Cart.php
parent1a0014941dcf399e97d3586bd6d3382166b413dd (diff)
Fix issue #2191.
Signed-off-by: Edwin Aw <tkaw220@gmail.com>
Diffstat (limited to 'system/libraries/Cart.php')
-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 8734d7774..d64f6f042 100644
--- a/system/libraries/Cart.php
+++ b/system/libraries/Cart.php
@@ -95,7 +95,7 @@ class CI_Cart {
$config = is_array($params) ? $params : array();
// Load the Sessions class
- $this->CI->load->library('session', $config);
+ $this->CI->load->driver('session', $config);
// Grab the shopping cart array from the session table
$this->_cart_contents = $this->CI->session->userdata('cart_contents');