? .DS_Store
? files
? modules/.DS_Store
Index: modules/contact.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/contact.module,v
retrieving revision 1.54
diff -u -F^f -r1.54 contact.module
--- modules/contact.module	29 May 2006 13:26:41 -0000	1.54
+++ modules/contact.module	26 Jun 2006 17:33:45 -0000
@@ -101,8 +101,9 @@ function contact_menu($may_cache) {
   }
   else {
     if (arg(0) == 'user' && is_numeric(arg(1))) {
+      global $user;
       $account = user_load(array('uid' => arg(1)));
-      if ($account->contact || user_access('administer users')) {
+      if ($user->uid != $account->uid && ($account->contact || user_access('administer users'))) {
         global $user;
         $items[] = array('path' => 'user/'. arg(1) .'/contact',
           'title' => t('contact'),
