[-] BO : If no nb, get default 8, not 10.

This commit is contained in:
PhpMadman committed 2013-07-19 10:33:28 +02:00
1 parent 219ec6e8be
commit eb6b233e31
1 file changed
+1 -1
+1 -1
View File
@@ -120,7 +120,7 @@ class HomeFeatured extends Module
{
$category = new Category(Context::getContext()->shop->getCategory(), (int)Context::getContext()->language->id);
$nb = (int)Configuration::get('HOME_FEATURED_NBR');
$products = $category->getProducts((int)Context::getContext()->language->id, 1, ($nb ? $nb : 10));
$products = $category->getProducts((int)Context::getContext()->language->id, 1, ($nb ? $nb : 8));
$this->smarty->assign(array(
'products' => $products,