summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/comment/comment.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/comment/comment.module b/modules/comment/comment.module
index 7220b3d90..53b28e012 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 {