summaryrefslogtreecommitdiffstats
path: root/system/libraries/Cart.php
diff options
context:
space:
mode:
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 f2121bcac..5d3f91d43 100644
--- a/system/libraries/Cart.php
+++ b/system/libraries/Cart.php
@@ -40,7 +40,7 @@ class CI_Cart {
*
* The constructor loads the Session class, used to store the shopping cart contents.
*/
- function CI_Cart($params = array())
+ public function __construct($params = array())
{
// Set the super object to a local variable for use later
$this->CI =& get_instance();