]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
don't show sub/unsub on your own record!
authorEvan Prodromou <evan@prodromou.name>
Thu, 20 Nov 2008 20:47:25 +0000 (15:47 -0500)
committerEvan Prodromou <evan@prodromou.name>
Thu, 20 Nov 2008 20:47:25 +0000 (15:47 -0500)
darcs-hash:20081120204725-84dde-1b126328b7c5a62b59146824139dfff4914879cb.gz

lib/profilelist.php

index f9846b214dc9f192222852c205931b34cd83db06..613245c02495ece7ec13329a380eeaafd87d6808 100644 (file)
@@ -57,7 +57,7 @@ class ProfileList {
                                                                                 'id' => 'profile-' . $this->profile->id));
                
                $user = common_current_user();
-               if ($user) {
+               if ($user && $user->id != $this->profile->id) {
                        # XXX: special-case for user looking at own
                        # subscriptions page
                        if ($user->isSubscribed($this->profile)) {