Commit 76b850ab authored by Dries's avatar Dries
Browse files

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

parent 00f377cd
......@@ -59,6 +59,7 @@ function drupal_get_form($form_id) {
$stored = TRUE;
$args = $_SESSION['form'][$_POST['form_build_id']]['args'];
$form = call_user_func_array('drupal_retrieve_form', $args);
$form['#build_id'] = $_POST['form_build_id'];
}
else {
// We're coming in fresh; build things as they would be. If the
......
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