// perf
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@14584 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
1 parent
8962e138aa
commit
c9611e41cc
1 file changed
+3
-2
@@ -60,8 +60,10 @@ class BlockSupplier extends Module
|
|||||||
|
|
||||||
function hookDisplayLeftColumn($params)
|
function hookDisplayLeftColumn($params)
|
||||||
{
|
{
|
||||||
|
$id_lang = (int)Context::getContext()->language->id;
|
||||||
|
|
||||||
$this->smarty->assign(array(
|
$this->smarty->assign(array(
|
||||||
'suppliers' => Supplier::getSuppliers(false),
|
'suppliers' => Supplier::getSuppliers(false, $id_lang),
|
||||||
'link' => $this->context->link,
|
'link' => $this->context->link,
|
||||||
'text_list' => Configuration::get('SUPPLIER_DISPLAY_TEXT'),
|
'text_list' => Configuration::get('SUPPLIER_DISPLAY_TEXT'),
|
||||||
'text_list_nb' => Configuration::get('SUPPLIER_DISPLAY_TEXT_NB'),
|
'text_list_nb' => Configuration::get('SUPPLIER_DISPLAY_TEXT_NB'),
|
||||||
@@ -136,4 +138,3 @@ class BlockSupplier extends Module
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
Reference in new issue
Block a user