diff options
author | Andrey Andreev <narf@bofh.bg> | 2012-11-23 13:33:54 +0100 |
---|---|---|
committer | Andrey Andreev <narf@bofh.bg> | 2012-11-23 13:33:54 +0100 |
commit | 1b7a452c8331adbd306d3ab9d776a9ae073f1243 (patch) | |
tree | aeb218bd12d75dabf3a8fd7d22b214df14b6689c /system/libraries/Cart.php | |
parent | ce0c9561e9068d5dab9c473f1ca0709b0d222cf1 (diff) | |
parent | 29453cdc1424c81616ef32fa12c7e5b11a3f0039 (diff) |
Merge pull request #2024 from ivantcholakov/develop
3.0.0-dev: Fixing the issue #2023.
Diffstat (limited to 'system/libraries/Cart.php')
-rw-r--r-- | system/libraries/Cart.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/libraries/Cart.php b/system/libraries/Cart.php index 035a6a42b..79c2b8cdc 100644 --- a/system/libraries/Cart.php +++ b/system/libraries/Cart.php @@ -99,7 +99,7 @@ class CI_Cart { // 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); |