// Corrected default language in FO top menu
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@14137 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -538,7 +538,7 @@ class Blocktopmenu extends Module
|
||||
|
||||
private function getCategory($id_category, $id_lang = false)
|
||||
{
|
||||
$id_lang = $id_lang ? $id_lang : Shop::getContextShopID();
|
||||
$id_lang = $id_lang ? $id_lang : Context::getContext()->language->id;
|
||||
$category = new Category($id_category, $id_lang);
|
||||
|
||||
if (is_null($category->id))
|
||||
|
||||
Reference in New Issue
Block a user