From: friendica Date: Wed, 6 Feb 2013 01:22:25 +0000 (-0800) Subject: Merge pull request #600 from fermionic/20130204-message-button-on-own-profile X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=b6008130c4e0526f738974524352bb7909f34314;hp=34c9156fa157803a32ed69d1ab3ec4c4f471ea1d;p=friendica.git Merge pull request #600 from fermionic/20130204-message-button-on-own-profile don't show Message button to user on own profile page --- diff --git a/boot.php b/boot.php index 70f16209a7..6db4de3d95 100644 --- a/boot.php +++ b/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;