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

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@14545 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
lLefevre
2012-04-10 08:16:18 +00:00
parent 5c7c3a5362
commit 4cceed4f4a
+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);