summaryrefslogtreecommitdiff
path: root/modules/comment
diff options
context:
space:
mode:
authorGábor Hojtsy <gabor@hojtsy.hu>2007-10-15 15:57:15 +0000
committerGábor Hojtsy <gabor@hojtsy.hu>2007-10-15 15:57:15 +0000
commit0a61aff2518f149cf3317ef47b9eb1cc7347f78e (patch)
treee64653077a654a4c65a1a1c12b8c976d9a3abf08 /modules/comment
parent1e8ddda9b78365f66019c0443669557562e030ed (diff)
downloadbrdo-0a61aff2518f149cf3317ef47b9eb1cc7347f78e.tar.gz
brdo-0a61aff2518f149cf3317ef47b9eb1cc7347f78e.tar.bz2
#183390 by hunmonk: forms should use form_state['redirect'] for redirection, not drupal_goto() - fix this in comment_admin_overview_submit()
Diffstat (limited to 'modules/comment')
-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 9aded96d9..de4216f84 100644
--- a/modules/comment/comment.module
+++ b/modules/comment/comment.module
@@ -1285,7 +1285,7 @@ function comment_admin_overview_submit($form, &$form_state) {
}
cache_clear_all();
drupal_set_message(t('The update has been performed.'));
- drupal_goto('admin/content/comment');
+ $form_state['redirect'] = 'admin/content/comment';
}
}