diff options
author | Gábor Hojtsy <gabor@hojtsy.hu> | 2007-07-25 14:57:58 +0000 |
---|---|---|
committer | Gábor Hojtsy <gabor@hojtsy.hu> | 2007-07-25 14:57:58 +0000 |
commit | f180790bb7f5c961245a788d7f19d0489b1ed04c (patch) | |
tree | 61249a423a98a982534ef0c14863e355addf8950 | |
parent | 61b225ee8b97c90049a399952cfef01385109a29 (diff) | |
download | brdo-f180790bb7f5c961245a788d7f19d0489b1ed04c.tar.gz brdo-f180790bb7f5c961245a788d7f19d0489b1ed04c.tar.bz2 |
#161979 noticed by bboyjay, patch by myself: kill noticedisplayed when no comments were selected for the mass operation
-rw-r--r-- | modules/comment/comment.module | 2 |
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 { |