Updated incorrect use of ksort(), also fixed unittests

This commit is contained in:
Rob Gloudemans
2013-07-27 09:55:23 +02:00
parent a385410367
commit 042ab7a45a
2 changed files with 13 additions and 8 deletions

View File

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