From d3575cd99ea8dcc510f989590648e35aafef9fbf Mon Sep 17 00:00:00 2001 From: vChabot Date: Wed, 28 Mar 2012 16:00:22 +0000 Subject: [PATCH] [-] BO : BugFix : #PSTEST-1088 : Customer group creation : fix on the category reduction creation --- classes/GroupReduction.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/GroupReduction.php b/classes/GroupReduction.php index c74aff1db..57d136184 100644 --- a/classes/GroupReduction.php +++ b/classes/GroupReduction.php @@ -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 );