//Fix addsharethis error

This commit is contained in:
Jerome Nadaud
2013-11-15 15:38:51 +01:00
parent 3af7a59caa
commit ece4331622
+2
View File
@@ -178,8 +178,10 @@ class AddShareThis extends Module
public function hookExtraRight($params) public function hookExtraRight($params)
{ {
$cache_id = 'addsharethis_content|'.(int)$this->context->shop->id; $cache_id = 'addsharethis_content|'.(int)$this->context->shop->id;
if (!$this->isCached('addsharethis.tpl', $cache_id)) if (!$this->isCached('addsharethis.tpl', $cache_id))
{ {
$data = array();
if (Configuration::get('ADDTHISSHARE_TWITTER')) if (Configuration::get('ADDTHISSHARE_TWITTER'))
$data['twitter'] = '<span class="st_twitter_hcount sharebtn" displayText="Tweet"></span>'; $data['twitter'] = '<span class="st_twitter_hcount sharebtn" displayText="Tweet"></span>';