summaryrefslogtreecommitdiff
path: root/modules/comment/comment.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2006-10-24 20:31:25 +0000
committerDries Buytaert <dries@buytaert.net>2006-10-24 20:31:25 +0000
commit87f1359158e847704e45dd0859c2d680c50fa2e4 (patch)
tree7872deeb94179288786aaae47738dda416948f40 /modules/comment/comment.module
parent727eba0efb2886d86f640b8a03b40c326439e5af (diff)
downloadbrdo-87f1359158e847704e45dd0859c2d680c50fa2e4.tar.gz
brdo-87f1359158e847704e45dd0859c2d680c50fa2e4.tar.bz2
- Patch #82938 by edkwh and natrak: error in comments admin page after clicking on Update without selecting any comments.
Diffstat (limited to 'modules/comment/comment.module')
-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 c1489ed39..2ff367b82 100644
--- a/modules/comment/comment.module
+++ b/modules/comment/comment.module
@@ -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 {