diff options
-rw-r--r-- | modules/comment.module | 3 | ||||
-rw-r--r-- | modules/comment/comment.module | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/modules/comment.module b/modules/comment.module index be5c7f9b3..c473def24 100644 --- a/modules/comment.module +++ b/modules/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)); } 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)); } |