// Context part 32

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@8095 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
tDidierjean
2011-08-17 13:40:05 +00:00
parent 51f2bf2617
commit 39d005f222
14 changed files with 24 additions and 20 deletions
@@ -1199,7 +1199,7 @@ class TSBuyerProtection extends AbsTrustedShops
}
public function hookRightColumn($params)
{
$lang = Language::getIsoById($params['cookie']->id_lang);
$lang = $this->context->language->iso_code;
$lang = strtoupper($lang);
if (array_key_exists($lang, $this->available_languages) AND isset(TSBuyerProtection::$CERTIFICATE[$lang]['tsID']))
{
@@ -1219,7 +1219,7 @@ class TSBuyerProtection extends AbsTrustedShops
*/
public function hookPaymentTop($params)
{
$lang = Language::getIsoById($params['cookie']->id_lang);
$lang = $this->context->language->iso_code;
$lang = strtoupper($lang);
if (!isset(TSBuyerProtection::$CERTIFICATE[$lang]) ||