From 9855fc003bde26621c0ca06e7ec296e5e02bf5fc Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Fri, 12 Dec 2008 00:18:30 -0500 Subject: don't block yourself! darcs-hash:20081212051830-84dde-4db7b40c27b20bd37bac261a68bd11051d263c25.gz --- actions/showstream.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actions') diff --git a/actions/showstream.php b/actions/showstream.php index e96a67703..6d6225661 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) { -- cgit v1.2.3-54-g00ecf