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.module1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/comment/comment.module b/modules/comment/comment.module
index ab71b724b..aa66c9f87 100644
--- a/modules/comment/comment.module
+++ b/modules/comment/comment.module
@@ -991,6 +991,7 @@ function comment_links($comment, $node) {
'title' => t('approve'),
'href' => "comment/$comment->cid/approve",
'html' => TRUE,
+ 'query' => array('token' => drupal_get_token("comment/$comment->cid/approve")),
);
}
}