diff options
author | Dries Buytaert <dries@buytaert.net> | 2007-03-12 13:08:02 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2007-03-12 13:08:02 +0000 |
commit | 69eb6a883d7f716dd2a278712ce7087a7c42df71 (patch) | |
tree | 491dd0f08d5342bcd76a5a75b6fdbbada47ebe81 /modules/comment/comment.module | |
parent | 66b99866b031756a581d4200a0ed89a1b519aae4 (diff) | |
download | brdo-69eb6a883d7f716dd2a278712ce7087a7c42df71.tar.gz brdo-69eb6a883d7f716dd2a278712ce7087a7c42df71.tar.bz2 |
- Patch #123940 by Gman: anchor to comment form is mis-labeled.
Diffstat (limited to 'modules/comment/comment.module')
-rw-r--r-- | modules/comment/comment.module | 4 |
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)) { |