summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/user.module6
-rw-r--r--modules/user/user.module6
2 files changed, 6 insertions, 6 deletions
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'));
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'));