]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
fixup this pointer
authorEvan Prodromou <evan@prodromou.name>
Thu, 20 Nov 2008 20:43:47 +0000 (15:43 -0500)
committerEvan Prodromou <evan@prodromou.name>
Thu, 20 Nov 2008 20:43:47 +0000 (15:43 -0500)
darcs-hash:20081120204347-84dde-5efd1a69aaecfa8c5cbde17b60017922a6888839.gz

lib/profilelist.php

index ec96c291616e75bb0b38d4b06b72ca7031f242fa..f9846b214dc9f192222852c205931b34cd83db06 100644 (file)
@@ -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);
                        }
                }