don't show sub/unsub on your own record!

darcs-hash:20081120204725-84dde-1b126328b7c5a62b59146824139dfff4914879cb.gz
This commit is contained in:
Evan Prodromou 2008-11-20 15:47:25 -05:00
parent 8bec9e06f8
commit dc5d227f77
1 changed files with 1 additions and 1 deletions

View 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)) {