don't show Message button to user on own profile page
This commit is contained in:
parent
9dbe7efce5
commit
d5af6ebfc1
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