summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-11-20 15:43:47 -0500
committerEvan Prodromou <evan@prodromou.name>2008-11-20 15:43:47 -0500
commit8bec9e06f80196bc9782c0d8e18a7744e02e7ca1 (patch)
treedeb7db6729c4887a8faaccf3cdb714e901c05c46
parent29a425f848da3c4d74f3bdd684140f1da05f346e (diff)
fixup this pointer
darcs-hash:20081120204347-84dde-5efd1a69aaecfa8c5cbde17b60017922a6888839.gz
-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);
}
}