Commit 87f13591 authored by Dries's avatar Dries

- Patch #82938 by edkwh and natrak: error in comments admin page after...

- Patch #82938 by edkwh and natrak: error in comments admin page after clicking on Update without selecting any comments.
parent 727eba0e
......@@ -1019,7 +1019,7 @@ function comment_operations($action = NULL) {
function comment_admin($type = 'new') {
$edit = $_POST;
if ($edit['operation'] == 'delete') {
if ($edit['operation'] == 'delete' && $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