summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 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)) {