[-] FO : fixed bug #PSCFV-5744 - Using attribute values with decimal points numbers and its ten multiple, have the same url

This commit is contained in:
vAugagneur
2013-03-11 16:29:33 +01:00
parent 68b9b796d7
commit eb4e0946bb
+1 -1
View File
@@ -472,7 +472,7 @@ class ProductControllerCore extends FrontController
$attributes_combinations = Product::getAttributesInformationsByProduct($this->product->id);
foreach ($attributes_combinations as &$ac)
foreach ($ac as &$val)
$val = str_replace('-', '_', Tools::link_rewrite($val));
$val = str_replace('-', '_', Tools::link_rewrite(str_replace(array(',', '.'), '-', $val)));
$this->context->smarty->assign('attributesCombinations', $attributes_combinations);
}