don't block yourself!

darcs-hash:20081212051830-84dde-4db7b40c27b20bd37bac261a68bd11051d263c25.gz
This commit is contained in:
Evan Prodromou 2008-12-12 00:18:30 -05:00
parent 596c1b7f5a
commit 9855fc003b
1 changed files with 1 additions and 1 deletions

View File

@ -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) {