Index: modules/comment/comment.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/comment/comment.module,v
retrieving revision 1.488
diff -u -F^f -r1.488 comment.module
--- modules/comment/comment.module	17 Sep 2006 19:09:34 -0000	1.488
+++ modules/comment/comment.module	5 Oct 2006 04:10:44 -0000
@@ -1121,6 +1121,10 @@ function theme_comment_admin_overview($f
 function comment_multiple_delete_confirm() {
   $edit = $_POST;
 
+  if (!$edit['comments']) {
+    form_set_error('', t('Please select one or more comments to perform the update on.'));
+    drupal_goto('admin/content/comment');
+  }
   $form['comments'] = array('#prefix' => '<ul>', '#suffix' => '</ul>', '#tree' => TRUE);
   // array_filter() returns only elements with actual values
   $comment_counter = 0;
