summaryrefslogtreecommitdiff
path: root/modules/user.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/user.module')
-rw-r--r--modules/user.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/user.module b/modules/user.module
index dad0f2018..7f93e0321 100644
--- a/modules/user.module
+++ b/modules/user.module
@@ -597,7 +597,7 @@ function user_menu() {
'callback' => 'user_page', 'access' => TRUE);
// Add the edit menu:
if ($access) $function = 'user_admin_edit';
- else $function = 'user_edit';
+ else $function = 'user_page';
$items[] = array('path' => 'user/'. arg(1) .'/edit', 'title' => t('edit'),
'callback' => $function, 'access' => $access || $user->uid == arg(1),
'type' => MENU_LOCAL_TASK);