// Small fix
This commit is contained in:
1 parent
1c52de14c8
commit
b667cf8862
1 file changed
+2
@@ -911,6 +911,8 @@ class ShopCore extends ObjectModel
|
|||||||
$sql .= ' AND '.$table_alias.'.id_shop = '.(int)self::$context_id_shop;
|
$sql .= ' AND '.$table_alias.'.id_shop = '.(int)self::$context_id_shop;
|
||||||
elseif (Shop::checkIdShopDefault($table))
|
elseif (Shop::checkIdShopDefault($table))
|
||||||
$sql .= ' AND '.$table_alias.'.id_shop = '.$alias.'.id_shop_default';
|
$sql .= ' AND '.$table_alias.'.id_shop = '.$alias.'.id_shop_default';
|
||||||
|
else
|
||||||
|
$sql .= ' AND '.$table_alias.'.id_shop IN ('.implode(', ', Shop::getContextListShopID()).')';
|
||||||
$sql .= (($on) ? ' AND '.$on : '').')';
|
$sql .= (($on) ? ' AND '.$on : '').')';
|
||||||
return $sql;
|
return $sql;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user