summaryrefslogtreecommitdiff
path: root/modules/comment.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/comment.module')
-rw-r--r--modules/comment.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/comment.module b/modules/comment.module
index d34f0fcd9..13fedb752 100644
--- a/modules/comment.module
+++ b/modules/comment.module
@@ -1413,7 +1413,7 @@ function _comment_form_submit($form_values) {
function comment_form_submit($form_id, $form_values) {
$form_values = _comment_form_submit($form_values);
if ($cid = comment_save($form_values)) {
- drupal_goto('node/'. $form_values['nid'], NULL, "comment-$cid");
+ return array('node/'. $form_values['nid'], NULL, "comment-$cid");
}
}