[-] BO : BugFix : #PSCFV-2960 : Exception thrown when updating customer email
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@16161 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
+1
-1
@@ -78,7 +78,7 @@ class GroupCore extends ObjectModel
|
||||
$shop_criteria = Shop::addSqlAssociation('group', 'g');
|
||||
|
||||
return Db::getInstance(_PS_USE_SQL_SLAVE_)->executeS('
|
||||
SELECT g.`id_group`, g.`reduction`, g.`price_display_method`, gl.`name`
|
||||
SELECT DISTINCT g.`id_group`, g.`reduction`, g.`price_display_method`, gl.`name`
|
||||
FROM `'._DB_PREFIX_.'group` g
|
||||
LEFT JOIN `'._DB_PREFIX_.'group_lang` AS gl ON (g.`id_group` = gl.`id_group` AND gl.`id_lang` = '.(int)$id_lang.')
|
||||
'.$shop_criteria.'
|
||||
|
||||
Reference in New Issue
Block a user