// 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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user