Commit f180790b authored by Gábor Hojtsy's avatar Gábor Hojtsy
Browse files

#161979 noticed by bboyjay, patch by myself: kill noticedisplayed when no...

#161979 noticed by bboyjay, patch by myself: kill noticedisplayed when no comments were selected for the mass operation
parent 61b225ee
......@@ -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 {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment