summaryrefslogtreecommitdiff
path: root/modules/comment/comment.tokens.inc
diff options
context:
space:
mode:
Diffstat (limited to 'modules/comment/comment.tokens.inc')
-rw-r--r--modules/comment/comment.tokens.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/comment/comment.tokens.inc b/modules/comment/comment.tokens.inc
index 60db70fab..d16eabda6 100644
--- a/modules/comment/comment.tokens.inc
+++ b/modules/comment/comment.tokens.inc
@@ -210,7 +210,7 @@ function comment_tokens($type, $tokens, array $data = array(), array $options =
case 'node':
$node = node_load($comment->nid);
- $title = $node->title[LANGUAGE_NONE][0]['value'];
+ $title = $node->title;
$replacements[$original] = $sanitize ? filter_xss($title) : $title;
break;
}