From 4788bf25fac2386002210c197eed782497936473 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Wed, 18 Nov 2009 18:51:11 +0000 Subject: - Patch #583730 by sun: fixed form caching. --- modules/simpletest/tests/form_test.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/simpletest/tests/form_test.module') 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; -- cgit v1.2.3