]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
don't block yourself!
authorEvan Prodromou <evan@prodromou.name>
Fri, 12 Dec 2008 05:18:30 +0000 (00:18 -0500)
committerEvan Prodromou <evan@prodromou.name>
Fri, 12 Dec 2008 05:18:30 +0000 (00:18 -0500)
darcs-hash:20081212051830-84dde-4db7b40c27b20bd37bac261a68bd11051d263c25.gz

actions/showstream.php

index e96a67703ff32ee02bec6e335fca80653ff79a30..6d6225661cf13f8eb276b86298069abaf10a72da 100644 (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) {