mirror of
https://github.com/kevin-DL/LaravelShoppingcart.git
synced 2026-01-23 15:41:24 +00:00
Updated incorrect use of ksort(), also fixed unittests
This commit is contained in:
@@ -263,7 +263,9 @@ class Cart {
|
||||
*/
|
||||
protected function generateRowId($id, $options)
|
||||
{
|
||||
return md5($id . serialize(ksort($options)));
|
||||
ksort($options);
|
||||
|
||||
return md5($id . serialize($options));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user