Index: modules/user.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/user.module,v
retrieving revision 1.587
diff -u -r1.587 user.module
--- modules/user.module 21 Feb 2006 18:46:54 -0000      1.587
+++ modules/user.module 21 Feb 2006 20:07:07 -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' => array(arg(1)), 'access' => $view_access);

-      if ($user_exists !== FALSE || $admin_access) {
+      if (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'),
