diff options
author | ThallisPHP <thallisphp@gmail.com> | 2012-05-03 21:01:46 +0200 |
---|---|---|
committer | ThallisPHP <thallisphp@gmail.com> | 2012-05-03 21:01:46 +0200 |
commit | f074dff71f136860102a6042dccd3ff6db02d9f4 (patch) | |
tree | 6b710688af8c241ae0b546fb661f2799738c216e /system/libraries | |
parent | 87a4b544da246f10086129da9c5e48e27ee47810 (diff) |
Update system/libraries/Cart.php - To enable integrity when using associative arrays
Diffstat (limited to 'system/libraries')
-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 eee123584..9f258beb3 100644 --- a/system/libraries/Cart.php +++ b/system/libraries/Cart.php @@ -244,7 +244,7 @@ class CI_Cart { // This becomes the unique "row ID" if (isset($items['options']) && count($items['options']) > 0) { - $rowid = md5($items['id'].implode('', $items['options'])); + $rowid = md5($items['id'].serialize($items['options'])); } else { |