diff options
Diffstat (limited to 'modules/comment.module')
-rw-r--r-- | modules/comment.module | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/modules/comment.module b/modules/comment.module index 543047adc..c740eea78 100644 --- a/modules/comment.module +++ b/modules/comment.module @@ -941,9 +941,7 @@ function comment_admin_edit($cid) { if ($_POST['op'] == t('Submit')) { $edit = $_POST['edit']; $output = comment_save($edit['cid'], $edit); - $output .= comment_admin_overview(); - print theme('page', $output); - return; + drupal_goto('admin/comment'); } // if we're not saving our changes above, we're editing it. @@ -988,6 +986,7 @@ function comment_delete($cid) { // Print a confirmation. else if ($comment->cid) { drupal_set_message(t('do you want to delete this comment and all its replies?')); + $comment->comment = check_output($comment->comment); $output = theme('comment', $comment); $output .= form_submit(t('Delete comment')); } |