[-] TR : fix #PSCFV-3425

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@16623 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
lLefevre
2012-07-31 10:01:03 +00:00
parent d16dfdab01
commit a22276d161
+2 -6
View File
@@ -126,15 +126,11 @@ class TranslateCore
static $translations_merged = array();
if ($module instanceof Module)
{
$name = $module->name;
$local_path = $module->getLocalPath();
}
else
{
$name = $module;
$local_path = _PS_MODULE_DIR_.$module.'/';
}
$local_path = _PS_MODULE_DIR_.$name.'/';
if (!isset($name) || !isset($translations_merged[$name]))
{