// 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:
fSerny
2012-06-13 08:31:06 +00:00
parent 785232d450
commit e806afacb2
+1 -1
View File
@@ -136,7 +136,7 @@ class TranslateCore
$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
if (Tools::file_exists_cache(_PS_THEME_DIR_.'modules/'.$name.'/translations/'.Context::getContext()->language->iso_code.'.php'))