// Fix small bug when export language pack

This commit is contained in:
lLefevre
2012-07-13 13:17:43 +00:00
parent 0fc3e26b79
commit 24dbe1f2d4
@@ -367,8 +367,7 @@ class AdminTranslationsControllerCore extends AdminController
$tabs = Tab::getTabs($this->lang_selected->id);
// Get name of the default tabs
$id_lang_default = Configuration::get('PS_LANG_DEFAULT', null, (int)$this->context->shop->id_shop_group, (int)$this->context->shop->id);
$tabs_default_lang = Tab::getTabs($id_lang_default);
$tabs_default_lang = Tab::getTabs(1);
$tabs_default = array();
foreach ($tabs_default_lang as $tab)