Index: modules/user.module =================================================================== RCS file: /cvs/drupal/drupal/modules/user.module,v retrieving revision 1.486 diff -u -F^f -r1.486 user.module --- modules/user.module 23 Jun 2005 19:26:51 -0000 1.486 +++ modules/user.module 24 Jun 2005 16:30:33 -0000 @@ -728,7 +728,7 @@ function user_menu($may_cache) { $items[] = array('path' => 'user/'. arg(1) .'/view', 'title' => t('view'), 'access' => $view_access, 'type' => MENU_DEFAULT_LOCAL_TASK, 'weight' => -10); $items[] = array('path' => 'user/'. arg(1) .'/edit', 'title' => t('edit'), - 'callback' => 'user_edit', 'access' => $admin_access || $user->uid == arg(1), + 'callback' => 'user_edit', 'access' => $admin_access || ($user->uid == arg(1) && $user->uid != 0), 'type' => MENU_LOCAL_TASK); $items[] = array('path' => 'user/'. arg(1) .'/delete', 'title' => t('delete'), 'callback' => 'user_edit', 'access' => $admin_access,