From 6f5ae56ee4b44bbc705c316145193d64f617117f Mon Sep 17 00:00:00 2001 From: mDeflotte Date: Thu, 8 Dec 2011 10:45:27 +0000 Subject: [PATCH] // BugFix : Blocklayered --- modules/blocklayered/blocklayered.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/blocklayered/blocklayered.php b/modules/blocklayered/blocklayered.php index 891b18220..cc163f2fa 100644 --- a/modules/blocklayered/blocklayered.php +++ b/modules/blocklayered/blocklayered.php @@ -3341,7 +3341,7 @@ class BlockLayered extends Module while ($row = $db->nextRow($features)) $featuresById[(int)$row['id_feature_value']] = (int)$row['id_feature']; - $result = $db->query(' + $result = self::query(' SELECT p.id_product, GROUP_CONCAT(DISTINCT fv.id_feature_value) features, GROUP_CONCAT(DISTINCT cp.id_category) categories, GROUP_CONCAT(DISTINCT pac.id_attribute) attributes FROM '._DB_PREFIX_.'product p LEFT JOIN '._DB_PREFIX_.'category_product cp ON (cp.id_product = p.id_product)