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/user/user.pages.inc | 1 - 1 file changed, 1 deletion(-) (limited to 'modules/user') diff --git a/modules/user/user.pages.inc b/modules/user/user.pages.inc index 8748635dc..6cdc30c34 100644 --- a/modules/user/user.pages.inc +++ b/modules/user/user.pages.inc @@ -279,7 +279,6 @@ function user_profile_form($form_state, $account, $category = 'account') { '#submit' => array('user_edit_cancel_submit'), ); } - $form['#attributes']['enctype'] = 'multipart/form-data'; return $form; } -- cgit v1.2.3