From: Evan Prodromou Date: Thu, 20 Nov 2008 20:47:25 +0000 (-0500) Subject: don't show sub/unsub on your own record! X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=dc5d227f7781f057eccd7d882607f1d36b8de5ae;p=quix0rs-gnu-social.git don't show sub/unsub on your own record! darcs-hash:20081120204725-84dde-1b126328b7c5a62b59146824139dfff4914879cb.gz --- diff --git a/lib/profilelist.php b/lib/profilelist.php index f9846b214d..613245c024 100644 --- a/lib/profilelist.php +++ b/lib/profilelist.php @@ -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)) {