//Fix addsharethis error
This commit is contained in:
@@ -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>';
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user