Skip to content

Commit

Permalink
fixed no footer links yields error
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonlttl committed Feb 28, 2013
1 parent ba656b3 commit 37083d9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mailit.token.inc
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ function mailit_tokens($type, $tokens, array $data = array(), array $options = a
else if ($name == 'links') {
$social = array('twitter', 'facebook', 'linkedin', 'youtube', 'flickr');
$social_links = array();
$links = array();
foreach ($social as $name) {
$field = 'field_mail_cpn_' . $name;
$items = field_get_items('node', $campaign, $field);
Expand Down

0 comments on commit 37083d9

Please sign in to comment.