diff options
author | Gerhard Killesreiter <killes_www_drop_org@227.no-reply.drupal.org> | 2006-03-27 18:04:29 +0000 |
---|---|---|
committer | Gerhard Killesreiter <killes_www_drop_org@227.no-reply.drupal.org> | 2006-03-27 18:04:29 +0000 |
commit | ca1dbd8099a7c8b2efad356ce41294717c5d8c3b (patch) | |
tree | a0ed74c67ffb31fddc1007e01ac3a17a696d20d1 /includes | |
parent | 002fee7aae031fb10f62662c12e4328565ac27aa (diff) | |
download | brdo-ca1dbd8099a7c8b2efad356ce41294717c5d8c3b.tar.gz brdo-ca1dbd8099a7c8b2efad356ce41294717c5d8c3b.tar.bz2 |
#56089, $form['#redirect'] shouldn't be clobbered by the _submit return value., patch by Adrian
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 03b35dfa4..218d37c6c 100644 --- a/includes/form.inc +++ b/includes/form.inc @@ -119,7 +119,7 @@ function drupal_get_form($form_id, &$form, $callback = NULL) { if (isset($redirect)) { $goto = $redirect; } - elseif (isset($form['#redirect'])) { + if (isset($form['#redirect'])) { $goto = $form['#redirect']; } if ($goto !== FALSE) { |