From 9855fc003bde26621c0ca06e7ec296e5e02bf5fc Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Fri, 12 Dec 2008 00:18:30 -0500 Subject: [PATCH] don't block yourself! darcs-hash:20081212051830-84dde-4db7b40c27b20bd37bac261a68bd11051d263c25.gz --- actions/showstream.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {