Fix issue #2191.
Signed-off-by: Edwin Aw <tkaw220@gmail.com>
diff --git a/system/libraries/Cart.php b/system/libraries/Cart.php
index 8734d77..d64f6f0 100644
--- a/system/libraries/Cart.php
+++ b/system/libraries/Cart.php
@@ -95,7 +95,7 @@
$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');