summaryrefslogtreecommitdiff
path: root/modules/comment/comment.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/comment/comment.module')
-rw-r--r--modules/comment/comment.module1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/comment/comment.module b/modules/comment/comment.module
index 3ec48f3f7..583cefb80 100644
--- a/modules/comment/comment.module
+++ b/modules/comment/comment.module
@@ -2031,6 +2031,7 @@ function comment_form_submit($form, &$form_state) {
}
comment_save($comment);
+ $form_state['values']['cid'] = $comment->cid;
// Explain the approval queue if necessary.
if ($comment->status == COMMENT_NOT_PUBLISHED) {
if (!user_access('administer comments')) {