Merge pull request #600 from fermionic/20130204-message-button-on-own-profile
don't show Message button to user on own profile page
This commit is contained in:
commit
b6008130c4
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');
|
$wallmessage = t('Message');
|
||||||
else
|
else
|
||||||
$wallmessage = false;
|
$wallmessage = false;
|
||||||
|
|
Loading…
Reference in a new issue