summaryrefslogtreecommitdiff
path: root/modules/comment
diff options
context:
space:
mode:
Diffstat (limited to 'modules/comment')
-rw-r--r--modules/comment/comment.module3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/comment/comment.module b/modules/comment/comment.module
index be5c7f9b3..c473def24 100644
--- a/modules/comment/comment.module
+++ b/modules/comment/comment.module
@@ -942,7 +942,8 @@ function comment_admin_edit($cid) {
$form .= form_textarea(t('Comment'), 'comment', $comment->comment, 70, 15, '');
$form .= filter_form('format', $comment->format);
$form .= form_radios(t('Status'), 'status', $comment->status, array(t('Published'), t('Not published')));
- $form .= form_hidden('cid', $cid);
+ $form .= form_hidden('nid', $comment->nid);
+ $form .= form_hidden('cid', $comment->cid);
$form .= form_submit(t('Submit'));
print theme('page', form($form));
}