diff --git a/modules/contact/contact.module b/modules/contact/contact.module index e63bcd8465bd8fbfab524279d8c74d79d484ebc4..5a51385cd79b73a6a9c08f5a2d0ab9167a54e59d 100644 --- a/modules/contact/contact.module +++ b/modules/contact/contact.module @@ -114,7 +114,7 @@ function _contact_user_tab_access($account) { $account->contact = FALSE; } return - $account && + $account && $user->uid && ( ($user->uid != $account->uid && $account->contact) || user_access('administer users')