diff options
Diffstat (limited to 'modules/comment.module')
-rw-r--r-- | modules/comment.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/comment.module b/modules/comment.module index 9ae46087e..70031f3db 100644 --- a/modules/comment.module +++ b/modules/comment.module @@ -1409,7 +1409,7 @@ function comment_form_submit($form_id, $form_values) { if ($op == t('Post comment')) { drupal_set_title(t('Post comment')); if ($cid = comment_save($form_values)) { - drupal_goto("node/$nid#comment-$cid"); + drupal_goto("node/$nid", NULL, "comment-$cid"); } } else if ($_POST['op'] == t('Preview comment')) { |