// Small fix
This commit is contained in:
@@ -99,7 +99,7 @@ class HomeFeatured extends Module
|
|||||||
{
|
{
|
||||||
$category = new Category(Context::getContext()->shop->getCategory(), (int)Context::getContext()->language->id);
|
$category = new Category(Context::getContext()->shop->getCategory(), (int)Context::getContext()->language->id);
|
||||||
$nb = (int)(Configuration::get('HOME_FEATURED_NBR'));
|
$nb = (int)(Configuration::get('HOME_FEATURED_NBR'));
|
||||||
$products = $category->getProducts($params['cookie']->id_lang, 1, ($nb ? $nb : 10));
|
$products = $category->getProducts((int)Context::getContext()->language->id, 1, ($nb ? $nb : 10));
|
||||||
|
|
||||||
$this->smarty->assign(array(
|
$this->smarty->assign(array(
|
||||||
'products' => $products,
|
'products' => $products,
|
||||||
|
|||||||
Reference in New Issue
Block a user