From 4f2e13f50376a9032f8157563aeb6eede34433eb Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Tue, 2 Jun 2009 13:47:26 +0000 Subject: - Patch #422362 by JamesAn: convert form.inc to use new static caching API. --- modules/simpletest/tests/form.test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/simpletest/tests') diff --git a/modules/simpletest/tests/form.test b/modules/simpletest/tests/form.test index 991186ba3..46bc67b84 100644 --- a/modules/simpletest/tests/form.test +++ b/modules/simpletest/tests/form.test @@ -306,7 +306,7 @@ class FormsElementsTableSelectFunctionalTest extends DrupalWebTestCase { // Clear errors and messages. drupal_get_messages(); - form_set_error(NULL, '', TRUE); + form_clear_error(); // Return the processed form together with form_state and errors // to allow the caller lowlevel access to the form. -- cgit v1.2.3