diff options
author | Dries Buytaert <dries@buytaert.net> | 2009-11-18 18:51:11 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2009-11-18 18:51:11 +0000 |
commit | 4788bf25fac2386002210c197eed782497936473 (patch) | |
tree | 1452b327d2875787daa14ec059377042bf26dec7 /modules/simpletest/tests/form_test.module | |
parent | 63d48af6fb398c54d043de5c36809c4a23025167 (diff) | |
download | brdo-4788bf25fac2386002210c197eed782497936473.tar.gz brdo-4788bf25fac2386002210c197eed782497936473.tar.bz2 |
- Patch #583730 by sun: fixed form caching.
Diffstat (limited to 'modules/simpletest/tests/form_test.module')
-rw-r--r-- | modules/simpletest/tests/form_test.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/simpletest/tests/form_test.module b/modules/simpletest/tests/form_test.module index efd26b773..5e420fc4a 100644 --- a/modules/simpletest/tests/form_test.module +++ b/modules/simpletest/tests/form_test.module @@ -329,7 +329,7 @@ function form_storage_test_form($form, &$form_state) { if (isset($_REQUEST['cache'])) { // Manually activate caching, so we can test that the storage keeps working // when it's enabled. - $form['#cache'] = TRUE; + $form_state['cache'] = TRUE; } return $form; |