diff options
author | Dries Buytaert <dries@buytaert.net> | 2006-02-04 09:54:16 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2006-02-04 09:54:16 +0000 |
commit | 91e152b8b8d0f1a2497c95bfa3bbb3483adcb4ea (patch) | |
tree | c49193675bad53bd6733cd874248c520e7c850c8 /modules/comment | |
parent | 035fc5c649528dfe195b7bf9b59475fae10b9d5d (diff) | |
download | brdo-91e152b8b8d0f1a2497c95bfa3bbb3483adcb4ea.tar.gz brdo-91e152b8b8d0f1a2497c95bfa3bbb3483adcb4ea.tar.bz2 |
- Patch #47705 by DriesK: comment moderation/approval wasn't working due to a bug with its forms.
Diffstat (limited to 'modules/comment')
-rw-r--r-- | modules/comment/comment.module | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/modules/comment/comment.module b/modules/comment/comment.module index cbf1a1215..bc498b193 100644 --- a/modules/comment/comment.module +++ b/modules/comment/comment.module @@ -952,7 +952,6 @@ function comment_operations($action = NULL) { * Menu callback; present an administrative comment listing. */ function comment_admin_overview($type = 'new') { - global $form_values; $edit = $_POST['edit']; if ($edit['operation'] == 'delete') { @@ -993,13 +992,7 @@ function comment_admin_overview($type = 'new') { } $form['comments'] = array('#type' => 'checkboxes', '#options' => $comments); $form['pager'] = array('#value' => theme('pager', NULL, 50, 0)); - - $form['#method'] = 'post'; - $form['#action'] = url('admin/comment/action'); - - $output = drupal_get_form('comment_admin_overview', $form); - - return $output; + return drupal_get_form('comment_admin_overview', $form); } /** |