diff options
author | Evan Prodromou <evan@prodromou.name> | 2008-12-12 00:18:30 -0500 |
---|---|---|
committer | Evan Prodromou <evan@prodromou.name> | 2008-12-12 00:18:30 -0500 |
commit | 9855fc003bde26621c0ca06e7ec296e5e02bf5fc (patch) | |
tree | 29a956b185bce8fef868510b99be5d5a0c2b662a /actions | |
parent | 596c1b7f5ac50cba55c5ff57a941a2ba41dc251c (diff) |
don't block yourself!
darcs-hash:20081212051830-84dde-4db7b40c27b20bd37bac261a68bd11051d263c25.gz
Diffstat (limited to 'actions')
-rw-r--r-- | actions/showstream.php | 2 |
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) { |