diff options
author | Evan Prodromou <evan@prodromou.name> | 2008-11-20 19:24:02 -0500 |
---|---|---|
committer | Evan Prodromou <evan@prodromou.name> | 2008-11-20 19:24:02 -0500 |
commit | a6d63eb499cc22b2674fd18a85edd1be5e6d4bf7 (patch) | |
tree | 8c897e0f5d4f0832a1b029ac4d286fc9f15546ac | |
parent | 6dac9870bbc48d12747285579603dabf0bdcbf7a (diff) |
fix $profile in profilelist
darcs-hash:20081121002402-84dde-867316d44fdc6ab363045540174b69297ea2f183.gz
-rw-r--r-- | lib/profilelist.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/profilelist.php b/lib/profilelist.php index 8c7f2abd7..a0cda1da4 100644 --- a/lib/profilelist.php +++ b/lib/profilelist.php @@ -125,16 +125,16 @@ class ProfileList { $action = NULL; - if ($user->isSubscribed($profile)) { + if ($user->isSubscribed($this->profile)) { $action = 'subscriptions'; - } else if (Subscription::pkeyGet(array('subscriber' => $profile->id, + } else if (Subscription::pkeyGet(array('subscriber' => $this->profile->id, 'subscribed' => $user->id))) { $action = 'subscribers'; } if ($action) { - $tags = Profile_tag::getTags($user->id, $profile->id); + $tags = Profile_tag::getTags($user->id, $this->profile->id); if ($tags) { common_element_start('p', 'subtags'); @@ -150,7 +150,7 @@ class ProfileList { } common_element('a', array('href' => 'tagother', - 'id' => $profile->id, + 'id' => $this->profile->id, 'class' => 'tagother'), _('Tag')); } |