diff options
author | David Rothstein <drothstein@gmail.com> | 2012-08-29 10:42:39 -0400 |
---|---|---|
committer | David Rothstein <drothstein@gmail.com> | 2012-08-29 10:42:39 -0400 |
commit | 50fce517e5ac1c6071ee76c82e17d795b6926baf (patch) | |
tree | 86afa78c6e96d83b83c6084f149c6a573c61c6f7 /includes | |
parent | c6200e83f52bf0aedf5d6fca7a1960ebdc5307be (diff) | |
download | brdo-50fce517e5ac1c6071ee76c82e17d795b6926baf.tar.gz brdo-50fce517e5ac1c6071ee76c82e17d795b6926baf.tar.bz2 |
Issue #171267 by tim.plunkett, chx, NROTC_Webmaster, dcam: Fixed form redirects removes get variables like sort and order.
Diffstat (limited to 'includes')
-rw-r--r-- | includes/form.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/form.inc b/includes/form.inc index cc7a2c0f7..b6ffc3ca2 100644 --- a/includes/form.inc +++ b/includes/form.inc @@ -1258,7 +1258,7 @@ function drupal_redirect_form($form_state) { $function($form_state['redirect']); } } - drupal_goto($_GET['q']); + drupal_goto(current_path(), array('query' => drupal_get_query_parameters())); } } |