Skip to content

Commit

Permalink
Issue #5: Fixed warning about token missing description.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jen Lampton committed Mar 8, 2017
1 parent e6d3410 commit 3914638
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions metatag.tokens.inc
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ function metatag_token_info() {
if (isset($value['description'])) {
$info['tokens']['metatag'][$value['name']]['description'] = $value['description'];
}
else {
$info['tokens']['metatag'][$value['name']]['description'] = '';
}
}

if (module_exists('taxonomy')) {
Expand Down

0 comments on commit 3914638

Please sign in to comment.