Permalink
Browse files

Merge pull request #2024 from ivantcholakov/develop

3.0.0-dev: Fixing the issue #2023.
  • Loading branch information...
2 parents ce0c956 + 29453cd commit 1b7a452c8331adbd306d3ab9d776a9ae073f1243 @narfbg narfbg committed Nov 23, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 system/libraries/Cart.php
@@ -99,7 +99,7 @@ public function __construct($params = array())
// Grab the shopping cart array from the session table
$this->_cart_contents = $this->CI->session->userdata('cart_contents');
- if ($this->_cart_contents === FALSE)
+ if ($this->_cart_contents === NULL)
{
// No cart exists so we'll set some base values
$this->_cart_contents = array('cart_total' => 0, 'total_items' => 0);

0 comments on commit 1b7a452

Please sign in to comment.