// Context part 32

This commit is contained in:
tDidierjean
2011-08-17 13:40:05 +00:00
parent 6dac3499b8
commit c28051ae93
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]) ||