[-] BO : Bug fixed related to #PSCFV-2490 - Created group doesn't appear in my shop
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@15515 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
1 parent
19c239b0b7
commit
f76832e0ff
1 file changed
+1
-2
+1
-2
@@ -75,8 +75,7 @@ class GroupCore extends ObjectModel
|
|||||||
{
|
{
|
||||||
$shop_criteria = '';
|
$shop_criteria = '';
|
||||||
if ($id_shop)
|
if ($id_shop)
|
||||||
$shop_criteria = 'LEFT JOIN `'._DB_PREFIX_.'group_shop` gs ON (gs.`id_group` = g.`id_group`)
|
$shop_criteria = Shop::addSqlAssociation('group', 'g');
|
||||||
WHERE `id_shop` = '.(int)$id_shop;
|
|
||||||
|
|
||||||
return Db::getInstance(_PS_USE_SQL_SLAVE_)->executeS('
|
return Db::getInstance(_PS_USE_SQL_SLAVE_)->executeS('
|
||||||
SELECT g.`id_group`, g.`reduction`, g.`price_display_method`, gl.`name`
|
SELECT g.`id_group`, g.`reduction`, g.`price_display_method`, gl.`name`
|
||||||
|
|||||||
Reference in new issue
Block a user