diff options
author | Evan Prodromou <evan@prodromou.name> | 2008-11-20 15:47:25 -0500 |
---|---|---|
committer | Evan Prodromou <evan@prodromou.name> | 2008-11-20 15:47:25 -0500 |
commit | dc5d227f7781f057eccd7d882607f1d36b8de5ae (patch) | |
tree | 9de10ee50c7b68617665f87c363d31e6d0904161 /lib/profilelist.php | |
parent | 8bec9e06f80196bc9782c0d8e18a7744e02e7ca1 (diff) |
don't show sub/unsub on your own record!
darcs-hash:20081120204725-84dde-1b126328b7c5a62b59146824139dfff4914879cb.gz
Diffstat (limited to 'lib/profilelist.php')
-rw-r--r-- | lib/profilelist.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/profilelist.php b/lib/profilelist.php index f9846b214..613245c02 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)) { |