summaryrefslogtreecommitdiff
path: root/actions/showstream.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-12-12 00:18:30 -0500
committerEvan Prodromou <evan@prodromou.name>2008-12-12 00:18:30 -0500
commit9855fc003bde26621c0ca06e7ec296e5e02bf5fc (patch)
tree29a956b185bce8fef868510b99be5d5a0c2b662a /actions/showstream.php
parent596c1b7f5ac50cba55c5ff57a941a2ba41dc251c (diff)
don't block yourself!
darcs-hash:20081212051830-84dde-4db7b40c27b20bd37bac261a68bd11051d263c25.gz
Diffstat (limited to 'actions/showstream.php')
-rw-r--r--actions/showstream.php2
1 files changed, 1 insertions, 1 deletions
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) {