From d4e7affba8faf00bccc48ec6028b9f20e62a35fc Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Thu, 24 Jun 2004 22:12:36 +0000 Subject: - Bugfix: made it possible for administrators to edit the values of custom profile fields of users. --- modules/user.module | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'modules/user.module') diff --git a/modules/user.module b/modules/user.module index 923805028..e8b18a029 100644 --- a/modules/user.module +++ b/modules/user.module @@ -1095,7 +1095,7 @@ function user_edit($edit = array()) { $output .= form_group(t('Picture'), $group); } - $output .= _user_profile($edit, $user, 'form'); + $output .= _user_profile($edit, $user); $output .= form_submit(t('Save user information')); $output = form($output, 'post', 0, array('enctype' => 'multipart/form-data')); @@ -1310,7 +1310,7 @@ function user_admin_create($edit = array()) { $output = form_textfield(t('Username'), 'name', $edit['name'], 30, 55, t('Provide the username of the new account.')); $output .= form_textfield(t('E-mail address'), 'mail', $edit['mail'], 30, 55, t('Provide the e-mail address associated with the new account.')); - $output .= _user_profile($edit, $edit, 'form'); + $output .= _user_profile($edit, $edit); $output .= form_textfield(t('Password'), 'pass', $edit['pass'], 30, 55, t('Provide a password for the new account.')); $output .= form_submit(t('Create account')); @@ -1594,7 +1594,7 @@ function user_admin_edit() { $output .= form_group(t('Picture'), $group); } - $output .= _user_profile($edit, $account, 'edit'); + $output .= _user_profile($edit, $account, 'form'); $output .= form_submit(t('Save account')); $output .= form_submit(t('Delete account')); -- cgit v1.2.3