summaryrefslogtreecommitdiff
path: root/modules/comment.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2006-03-06 18:09:17 +0000
committerDries Buytaert <dries@buytaert.net>2006-03-06 18:09:17 +0000
commitc54a0f575f4a00a8cb51a319648065627d237439 (patch)
treea984723b304f124643038ca6e0c8befe9c1385ff /modules/comment.module
parent21a3c24380511eb89a78a89aa6d8142909cb21fc (diff)
downloadbrdo-c54a0f575f4a00a8cb51a319648065627d237439.tar.gz
brdo-c54a0f575f4a00a8cb51a319648065627d237439.tar.bz2
- Patch #51543 by wtanaka: clicking on 'add new comment' takes you to the wrong place.
Diffstat (limited to 'modules/comment.module')
-rw-r--r--modules/comment.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/comment.module b/modules/comment.module
index 2ba64a06b..abcc7925f 100644
--- a/modules/comment.module
+++ b/modules/comment.module
@@ -203,7 +203,7 @@ function comment_link($type, $node = 0, $main = 0) {
else {
if ($node->comment == COMMENT_NODE_READ_WRITE) {
if (user_access('post comments')) {
- $links[] = l(t('add new comment'), "comment/reply/$node->nid", array('title' => t('Add a new comment to this page.')));
+ $links[] = l(t('add new comment'), "comment/reply/$node->nid", array('title' => t('Add a new comment to this page.')), NULL, 'comment-form');
}
else {
$links[] = theme('comment_post_forbidden', $node->nid);