]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Fix bug on subscribe/unsubscribe in profile lists. Bogus call to nonexisting profile...
authorBrion Vibber <brion@pobox.com>
Thu, 25 Feb 2010 23:22:23 +0000 (15:22 -0800)
committerBrion Vibber <brion@pobox.com>
Thu, 25 Feb 2010 23:22:23 +0000 (15:22 -0800)
actions/subscribe.php

index 3745311b6621998b9b4610e0f12fe377304a5126..b1243f393333fdea7245bead2c7c1bda9738e982 100644 (file)
@@ -145,7 +145,7 @@ class SubscribeAction extends Action
             $this->element('title', null, _('Subscribed'));
             $this->elementEnd('head');
             $this->elementStart('body');
-            $unsubscribe = new UnsubscribeForm($this, $this->other->getProfile());
+            $unsubscribe = new UnsubscribeForm($this, $this->other);
             $unsubscribe->show();
             $this->elementEnd('body');
             $this->elementEnd('html');