diff options
author | Dries Buytaert <dries@buytaert.net> | 2007-01-29 19:10:22 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2007-01-29 19:10:22 +0000 |
commit | 76b850ab525c3b338b3e9dcda7babf1fc7698dfc (patch) | |
tree | 41f3c7be4e826589784728f5a9289637debe508f | |
parent | 00f377cdcbf5aaf84651c69185c260091bf12ca7 (diff) | |
download | brdo-76b850ab525c3b338b3e9dcda7babf1fc7698dfc.tar.gz brdo-76b850ab525c3b338b3e9dcda7babf1fc7698dfc.tar.bz2 |
- Patch #109125 by Eaton: Multistep forms lose context on validation errors.
-rw-r--r-- | includes/form.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/includes/form.inc b/includes/form.inc index 8ca6b250d..b6647fdc4 100644 --- a/includes/form.inc +++ b/includes/form.inc @@ -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 |