// Fixed problems with encoding and json_encode on the block layered

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@12096 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
mDeflotte
2012-01-04 08:44:49 +00:00
parent 995522c3d0
commit f5da0b62c2
2 changed files with 35 additions and 2 deletions
+1 -1
View File
@@ -3356,7 +3356,7 @@ class BlockLayered extends Module
/* We are sending an array in jSon to the .js controller, it will update both the filters and the products zones */
return Tools::jsonEncode(array(
'filtersBlock' => $this->generateFiltersBlock($selectedFilters),
'productList' => $product_list,
'productList' => utf8_encode($product_list),
'pagination' => $smarty->fetch(_PS_THEME_DIR_.'pagination.tpl'),
'categoryCount' => $categoryCount));
}