// Small fix on translation system
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@16004 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -136,7 +136,7 @@ class TranslateCore
|
|||||||
$local_path = _PS_MODULE_DIR_.$module.'/';
|
$local_path = _PS_MODULE_DIR_.$module.'/';
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!isset($translations_merged[$name]))
|
if (!isset($name) || !isset($translations_merged[$name]))
|
||||||
{
|
{
|
||||||
// Check if translations exists in a current theme
|
// Check if translations exists in a current theme
|
||||||
if (Tools::file_exists_cache(_PS_THEME_DIR_.'modules/'.$name.'/translations/'.Context::getContext()->language->iso_code.'.php'))
|
if (Tools::file_exists_cache(_PS_THEME_DIR_.'modules/'.$name.'/translations/'.Context::getContext()->language->iso_code.'.php'))
|
||||||
|
|||||||
Reference in New Issue
Block a user