summaryrefslogtreecommitdiff
path: root/modules/comment/comment.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/comment/comment.module')
-rw-r--r--modules/comment/comment.module4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/comment/comment.module b/modules/comment/comment.module
index b06b186a4..41c621945 100644
--- a/modules/comment/comment.module
+++ b/modules/comment/comment.module
@@ -552,7 +552,7 @@ function comment_node_view($node, $build_mode) {
$node->content['links']['comment'] = array(
'#theme' => 'links',
'#links' => $links,
- '#attributes' => array('class' => 'links inline'),
+ '#attributes' => array('class' => array('links', 'inline')),
);
// Only append comments when we are building a node on its own node detail
@@ -825,7 +825,7 @@ function comment_build_content($comment, $build_mode = 'full') {
$comment->content['links']['comment'] = array(
'#theme' => 'links',
'#links' => comment_links($comment),
- '#attributes' => array('class' => 'links inline'),
+ '#attributes' => array('class' => array('links', 'inline')),
);
}