diff options
author | Dries Buytaert <dries@buytaert.net> | 2010-04-04 13:22:51 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2010-04-04 13:22:51 +0000 |
commit | 7cd14c719dd0cd7515a363ea3e57ece8afd25705 (patch) | |
tree | 277d23df310248dd12d774005a25520e9e8139f6 /includes | |
parent | 636b43e5a092084cbe0c84fdeb639f3a87471e6f (diff) | |
download | brdo-7cd14c719dd0cd7515a363ea3e57ece8afd25705.tar.gz brdo-7cd14c719dd0cd7515a363ea3e57ece8afd25705.tar.bz2 |
- Patch #760738 by yched: includes full form state in unneeded cases.
Diffstat (limited to 'includes')
-rw-r--r-- | includes/form.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/form.inc b/includes/form.inc index c05fd6fd1..203afe985 100644 --- a/includes/form.inc +++ b/includes/form.inc @@ -193,7 +193,7 @@ function drupal_build_form($form_id, &$form_state) { // Record the filepath of the include file containing the original form, // so the form builder callbacks can be loaded when the form is being // rebuilt from cache on a different path (such as 'system/ajax'). See - // form_get_cache(). + // form_get_cache(). // $menu_get_item() is not available at installation time. if (!isset($form_state['build_info']['file']) && !defined('MAINTENANCE_MODE')) { $item = menu_get_item(); @@ -655,7 +655,7 @@ function drupal_process_form($form_id, &$form, &$form_state) { // - The form is multistep. // In other cases, we only need the information expected by // drupal_redirect_form(). - if ($batch['has_form_submits'] || !empty($form_state['rebuild']) || !empty($form_state['storage'])) { + if ($batch['has_form_submits'] || !empty($form_state['rebuild'])) { $batch['form_state'] = $form_state; } else { |