From eb4e0946bb659001b31392c1b5bc9dfbeafce254 Mon Sep 17 00:00:00 2001 From: vAugagneur Date: Mon, 11 Mar 2013 16:29:33 +0100 Subject: [PATCH] [-] FO : fixed bug #PSCFV-5744 - Using attribute values with decimal points numbers and its ten multiple, have the same url --- controllers/front/ProductController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/front/ProductController.php b/controllers/front/ProductController.php index 4f43d3e73..e6138d495 100644 --- a/controllers/front/ProductController.php +++ b/controllers/front/ProductController.php @@ -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); }