[-] BO : BugFix : #PSTEST-1088 : Customer group creation : fix on the category reduction creation

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@14347 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
vChabot
2012-03-28 16:00:22 +00:00
parent fc44d1a51f
commit 3846e217fb
+1 -1
View File
@@ -81,7 +81,7 @@ class GroupReductionCore extends ObjectModel
protected function _setCache()
{
$products = Db::getInstance(_PS_USE_SQL_SLAVE_)->executeS('
SELECT ps.`id_product`
SELECT DISTINCT ps.`id_product`
FROM `'._DB_PREFIX_.'product_shop` ps
WHERE ps.`id_category_default` = '.(int)$this->id_category
);