From edeea95f5e9194c8d1e6e7e654bea6e2c39c8225 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Mon, 25 May 2009 18:22:31 +0000 Subject: - Patch #137932 by grendzy, Alan D, lilou et al: automatic enctype on adding a file field. --- modules/simpletest/tests/file_test.module | 1 - 1 file changed, 1 deletion(-) (limited to 'modules/simpletest') diff --git a/modules/simpletest/tests/file_test.module b/modules/simpletest/tests/file_test.module index 9d44b40ab..0fd9cb715 100644 --- a/modules/simpletest/tests/file_test.module +++ b/modules/simpletest/tests/file_test.module @@ -27,7 +27,6 @@ function file_test_menu() { * Form to test file uploads. */ function _file_test_form(&$form_state) { - $form['#attributes'] = array('enctype' => 'multipart/form-data'); $form['file_test_upload'] = array( '#type' => 'file', '#title' => t('Upload an image'), -- cgit v1.2.3