diff options
author | Gábor Hojtsy <gabor@hojtsy.hu> | 2008-01-16 12:46:52 +0000 |
---|---|---|
committer | Gábor Hojtsy <gabor@hojtsy.hu> | 2008-01-16 12:46:52 +0000 |
commit | a8360ea7c98250bd9a35bbefa64e2e9ce38e532f (patch) | |
tree | e75f91ef9719dec41f76363b3b52af4e2934fb44 | |
parent | 3a934722e5e95a95960e7c733b76d3366e21b5f4 (diff) | |
download | brdo-a8360ea7c98250bd9a35bbefa64e2e9ce38e532f.tar.gz brdo-a8360ea7c98250bd9a35bbefa64e2e9ce38e532f.tar.bz2 |
#189785 by dropcube: anonymous users did not have permission to view the personal contact form, so catch them early
-rw-r--r-- | modules/contact/contact.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/contact/contact.module b/modules/contact/contact.module index e63bcd846..5a51385cd 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') |