#161979 noticed by bboyjay, patch by myself: kill noticedisplayed when no comments were selected for the mass operation
parent
61b225ee8b
commit
f180790bb7
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue