[-] BO : #PSFV-812 : Fix bug price in a specials block

This commit is contained in:
lLefevre
2012-04-10 08:16:18 +00:00
parent 0d6159f8e0
commit 41b6d62093
+1
View File
@@ -1943,6 +1943,7 @@ class ProductCore extends ObjectModel
LEFT JOIN `'._DB_PREFIX_.'category_product` cp ON (cp.`id_category` = cg.`id_category`)
WHERE cg.`id_group` '.$sql_groups.'
)
AND pa.`default_on` = 1
GROUP BY p.id_product
ORDER BY RAND()';
$result = Db::getInstance(_PS_USE_SQL_SLAVE_)->getRow($sql);