$links = array();
if ($type === 'node' && user_access('view addthis')) {
- if (! $teaser || variable_get('addthis_display_in_teasers', '0')) {
+ if (($teaser && variable_get('addthis_display_in_teasers', '0')) ||
+ (!$teaser && variable_get('addthis_display_in_links', '0'))) {
$links['addthis'] = array(
'title' => _addthis_create_button($node, $teaser),
'html' => TRUE,