From dc5d227f7781f057eccd7d882607f1d36b8de5ae Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Thu, 20 Nov 2008 15:47:25 -0500 Subject: [PATCH] don't show sub/unsub on your own record! darcs-hash:20081120204725-84dde-1b126328b7c5a62b59146824139dfff4914879cb.gz --- lib/profilelist.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) {