Skip to content
Snippets Groups Projects
Commit 76b850ab authored by Dries Buytaert's avatar Dries Buytaert
Browse files

- Patch #109125 by Eaton: Multistep forms lose context on validation errors.

parent 00f377cd
No related branches found
No related tags found
No related merge requests found
...@@ -59,6 +59,7 @@ function drupal_get_form($form_id) { ...@@ -59,6 +59,7 @@ function drupal_get_form($form_id) {
$stored = TRUE; $stored = TRUE;
$args = $_SESSION['form'][$_POST['form_build_id']]['args']; $args = $_SESSION['form'][$_POST['form_build_id']]['args'];
$form = call_user_func_array('drupal_retrieve_form', $args); $form = call_user_func_array('drupal_retrieve_form', $args);
$form['#build_id'] = $_POST['form_build_id'];
} }
else { else {
// We're coming in fresh; build things as they would be. If the // We're coming in fresh; build things as they would be. If the
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment