// MERGE product_multistore branch : product fields are now editable per shop
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@14682 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -73,6 +73,7 @@ class TranslateCore
|
||||
$str = Translate::getGenericAdminTranslation($string, $key, $_LANGADM);
|
||||
|
||||
$str = $htmlentities ? htmlentities($str, ENT_QUOTES, 'utf-8') : $str;
|
||||
$str = str_replace('"', '"', $str);
|
||||
|
||||
if ($sprintf)
|
||||
{
|
||||
@@ -82,7 +83,7 @@ class TranslateCore
|
||||
$str = vsprintf($str, $sprintf);
|
||||
}
|
||||
|
||||
return str_replace('"', '"', ($addslashes ? addslashes($str) : stripslashes($str)));
|
||||
return ($addslashes ? addslashes($str) : stripslashes($str));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user