summaryrefslogtreecommitdiff
path: root/modules/comment/comment.admin.inc
diff options
context:
space:
mode:
Diffstat (limited to 'modules/comment/comment.admin.inc')
-rw-r--r--modules/comment/comment.admin.inc3
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/comment/comment.admin.inc b/modules/comment/comment.admin.inc
index 648a90912..cdf126435 100644
--- a/modules/comment/comment.admin.inc
+++ b/modules/comment/comment.admin.inc
@@ -206,7 +206,7 @@ function comment_multiple_delete_confirm_submit($form, &$form_state) {
cache_clear_all();
drupal_set_message(t('The comments have been deleted.'));
}
- return 'admin/content/comment';
+ $form_state['redirect'] = 'admin/content/comment';
}
/**
@@ -267,7 +267,6 @@ function comment_confirm_delete_submit($form, &$form_state) {
cache_clear_all();
$form_state['redirect'] = "node/$comment->nid";
- return;
}
/**