Updated rowid generate function to sort the options array, (better for search function)

This commit is contained in:
Rob Gloudemans
2013-06-01 08:51:50 +02:00
parent c0fadee95b
commit d41c69ff80

View File

@@ -231,7 +231,7 @@ class Cart {
*/
protected function generateRowId($id, $options)
{
return md5($id . serialize($options));
return md5($id . serialize(ksort($options)));
}
/**