Commit e0b19b7b authored by Gregory Roussac's avatar Gregory Roussac

[-] CORE : Fix bug #PSCSX-4330, additional quotes in TR

parent 90799867
......@@ -128,6 +128,7 @@ class TranslateCore
static $translations_merged = array();
$name = $module instanceof Module ? $module->name : $module;
$language = Context::getContext()->language;
if (!isset($translations_merged[$name]) && isset(Context::getContext()->language))
......@@ -182,7 +183,7 @@ class TranslateCore
$ret = stripslashes($_MODULES[$default_key]);
// if translation was not found in module, look for it in AdminController or Helpers
elseif (!empty($_LANGADM))
$ret = Translate::getGenericAdminTranslation($string, $key, $_LANGADM);
$ret = stripslashes(Translate::getGenericAdminTranslation($string, $key, $_LANGADM));
else
$ret = stripslashes($string);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment