Commit ca1dbd80 authored by Gerhard Killesreiter's avatar Gerhard Killesreiter
Browse files

#56089, $form['#redirect'] shouldn't be clobbered by the _submit return value., patch by Adrian

parent 002fee7a
......@@ -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) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment