// Blocklayered: fix problem on the BO

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@14215 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
mDeflotte
2012-03-16 10:27:26 +00:00
parent 25f3f74ee3
commit ebd8123efc
+2
View File
@@ -3353,6 +3353,8 @@ class BlockLayered extends Module
if (isset($category_box) && is_array($category_box))
foreach ($category_box as &$value)
$value = (int)$value;
else
$category_box = array();
$attribute_groups = Db::getInstance(_PS_USE_SQL_SLAVE_)->executeS('
SELECT ag.id_attribute_group, ag.is_color_group, agl.name, COUNT(DISTINCT(a.id_attribute)) n