From: Evan Prodromou Date: Fri, 12 Dec 2008 05:18:30 +0000 (-0500) Subject: don't block yourself! X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=9855fc003bde26621c0ca06e7ec296e5e02bf5fc;p=quix0rs-gnu-social.git don't block yourself! darcs-hash:20081212051830-84dde-4db7b40c27b20bd37bac261a68bd11051d263c25.gz --- diff --git a/actions/showstream.php b/actions/showstream.php index e96a67703f..6d6225661c 100644 --- a/actions/showstream.php +++ b/actions/showstream.php @@ -202,7 +202,7 @@ class ShowstreamAction extends StreamAction { $user = User::staticGet('id', $profile->id); common_profile_new_message_nudge($cur, $user, $profile); - if ($cur) { + if ($cur && $cur->id != $profile->id) { $blocked = $cur->hasBlocked($profile); common_element_start('li', array('id' => 'profile_block')); if ($blocked) {