diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-10-15 16:18:46 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-10-15 16:18:46 +0000 |
commit | e1642603eac05665d959c3d63ea8d1efbe9e431a (patch) | |
tree | b927cc0b278e90594310d8291091d76af9c57d40 /modules/comment/comment.module | |
parent | c7557262b3ac01f40613dd6141ef09d1ae7b84ba (diff) | |
download | brdo-e1642603eac05665d959c3d63ea8d1efbe9e431a.tar.gz brdo-e1642603eac05665d959c3d63ea8d1efbe9e431a.tar.bz2 |
#216098 by kwinters, jgoldberg, drawk, sun: Make drupal_goto() use the same parameters as url().
Diffstat (limited to 'modules/comment/comment.module')
-rw-r--r-- | modules/comment/comment.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/comment/comment.module b/modules/comment/comment.module index 073e4c74a..87ef24c0a 100644 --- a/modules/comment/comment.module +++ b/modules/comment/comment.module @@ -2092,7 +2092,7 @@ function comment_form_submit($form, &$form_state) { $query['page'] = $page; } // Redirect to the newly posted comment. - $redirect = array('node/' . $node->nid, $query, 'comment-' . $comment->cid); + $redirect = array('node/' . $node->nid, array('query' => $query, 'fragment' => 'comment-' . $comment->cid)); } else { watchdog('content', 'Comment: unauthorized comment submitted or comment submitted to a closed post %subject.', array('%subject' => $comment->subject), WATCHDOG_WARNING); |