Commit 69eb6a88 authored by Dries's avatar Dries

- Patch #123940 by Gman: anchor to comment form is mis-labeled.

parent 66b99866
...@@ -1815,10 +1815,10 @@ function theme_comment_post_forbidden($nid) { ...@@ -1815,10 +1815,10 @@ function theme_comment_post_forbidden($nid) {
else { else {
// we cannot use drupal_get_destination() because these links sometimes appear on /node and taxo listing pages // 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) { 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 { else {
$destination = "destination=". drupal_urlencode("node/$nid#comment_form"); $destination = "destination=". drupal_urlencode("node/$nid#comment-form");
} }
if (variable_get('user_register', 1)) { if (variable_get('user_register', 1)) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment