diff --git a/modules/comment/comment.module b/modules/comment/comment.module index 7220b3d9080..53b28e01299 100644 --- a/modules/comment/comment.module +++ b/modules/comment/comment.module @@ -1167,7 +1167,7 @@ function comment_operations($action = NULL) { function comment_admin($type = 'new') { $edit = $_POST; - if (isset($edit['operation']) && ($edit['operation'] == 'delete') && $edit['comments']) { + if (isset($edit['operation']) && ($edit['operation'] == 'delete') && isset($edit['comments']) && $edit['comments']) { return drupal_get_form('comment_multiple_delete_confirm'); } else {