don't show Message button to user on own profile page
This commit is contained in:
parent
9dbe7efce5
commit
d5af6ebfc1
1 changed files with 1 additions and 1 deletions
2
boot.php
2
boot.php
|
@ -1327,7 +1327,7 @@ if(! function_exists('profile_sidebar')) {
|
|||
}
|
||||
}
|
||||
|
||||
if(get_my_url() && $profile['unkmail'])
|
||||
if( get_my_url() && $profile['unkmail'] && ($profile['uid'] != local_user()) )
|
||||
$wallmessage = t('Message');
|
||||
else
|
||||
$wallmessage = false;
|
||||
|
|
Loading…
Reference in a new issue