From 69eb6a883d7f716dd2a278712ce7087a7c42df71 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Mon, 12 Mar 2007 13:08:02 +0000 Subject: - Patch #123940 by Gman: anchor to comment form is mis-labeled. --- modules/comment/comment.module | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/comment/comment.module') diff --git a/modules/comment/comment.module b/modules/comment/comment.module index 104a0a496..499db5a0e 100644 --- a/modules/comment/comment.module +++ b/modules/comment/comment.module @@ -1815,10 +1815,10 @@ function theme_comment_post_forbidden($nid) { else { // we cannot use drupal_get_destination() because these links sometimes appear on /node and taxo listing pages if (variable_get('comment_form_location', COMMENT_FORM_SEPARATE_PAGE) == COMMENT_FORM_SEPARATE_PAGE) { - $destination = "destination=". drupal_urlencode("comment/reply/$nid#comment_form"); + $destination = "destination=". drupal_urlencode("comment/reply/$nid#comment-form"); } else { - $destination = "destination=". drupal_urlencode("node/$nid#comment_form"); + $destination = "destination=". drupal_urlencode("node/$nid#comment-form"); } if (variable_get('user_register', 1)) { -- cgit v1.2.3