summaryrefslogtreecommitdiff
path: root/lib/profilelist.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/profilelist.php')
-rw-r--r--lib/profilelist.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/profilelist.php b/lib/profilelist.php
index ec96c2916..f9846b214 100644
--- a/lib/profilelist.php
+++ b/lib/profilelist.php
@@ -61,9 +61,9 @@ class ProfileList {
# XXX: special-case for user looking at own
# subscriptions page
if ($user->isSubscribed($this->profile)) {
- common_unsubscribe_form($profile);
+ common_unsubscribe_form($this->profile);
} else {
- common_subscribe_form($profile);
+ common_subscribe_form($this->profile);
}
}