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

- Patch #791168 by Berdir: does form_state() cache never get cleaned?

parent 99c7b5de
No related branches found
No related tags found
No related merge requests found
......@@ -747,7 +747,7 @@ function drupal_process_form($form_id, &$form, &$form_state) {
// here, though.
if (!variable_get('cache', 0) && !empty($form_state['values']['form_build_id'])) {
cache_clear_all('form_' . $form_state['values']['form_build_id'], 'cache_form');
cache_clear_all('storage_' . $form_state['values']['form_build_id'], 'cache_form');
cache_clear_all('form_state_' . $form_state['values']['form_build_id'], 'cache_form');
}
// If batches were set in the submit handlers, we process them now,
......
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