diff options
author | Dries Buytaert <dries@buytaert.net> | 2004-06-24 22:12:36 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2004-06-24 22:12:36 +0000 |
commit | d4e7affba8faf00bccc48ec6028b9f20e62a35fc (patch) | |
tree | 4023280e182386b931ede547fdfa283eebc13562 /modules/user/user.module | |
parent | ea676b3a1c8c109af7f5f2f17449498351e91069 (diff) | |
download | brdo-d4e7affba8faf00bccc48ec6028b9f20e62a35fc.tar.gz brdo-d4e7affba8faf00bccc48ec6028b9f20e62a35fc.tar.bz2 |
- Bugfix: made it possible for administrators to edit the values of custom
profile fields of users.
Diffstat (limited to 'modules/user/user.module')
-rw-r--r-- | modules/user/user.module | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/user/user.module b/modules/user/user.module index 923805028..e8b18a029 100644 --- a/modules/user/user.module +++ b/modules/user/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')); |