Index: user.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/user.module,v
retrieving revision 1.582
diff -u -r1.582 user.module
--- user.module 10 Feb 2006 05:46:39 -0000      1.582
+++ user.module 12 Feb 2006 02:05:59 -0000
@@ -770,13 +770,11 @@
   }
   else {
     if (arg(0) == 'user' && is_numeric(arg(1))) {
-      $user_exists = user_load(array('uid' => arg(1), 'status' => 1));
-
       $items[] = array('path' => 'user/'. arg(1), 'title' => t('user'),
         'type' => MENU_CALLBACK, 'callback' => 'user_view',
         'callback arguments' => arg(1), 'access' => $view_access);

-      if ($user_exists !== FALSE || $admin_access) {
+      if (arg(1) > 0 && user_load(array('uid' => arg(1), 'status' => 1)) !== FALSE) {
         $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'),
