// Fix #PSFV-20

This commit is contained in:
rMalie committed 2011-07-27 08:12:31 +00:00
1 parent 833e7b3f35
commit 03b5d8ae50
1 file changed
+2 -2
+2 -2
View File
@@ -617,9 +617,9 @@ class ShopCore extends ObjectModel
if ($type == 'group_shop') if ($type == 'group_shop')
{ {
if ($shopID) if ($shopID)
$restriction = ' AND '.$alias.'id_group_shop = '.Shop::getGroupFromShop($shopID); $restriction = ' AND '.$alias.'id_group_shop = '.Shop::getGroupFromShop($shopID).' ';
else if ($shopGroupID) else if ($shopGroupID)
$restriction = ' AND '.$alias.'id_group_shop = '.$shopGroupID; $restriction = ' AND '.$alias.'id_group_shop = '.$shopGroupID.' ';
} }
else else
{ {