diff options
author | Brion Vibber <brion@pobox.com> | 2010-02-25 15:22:23 -0800 |
---|---|---|
committer | Brion Vibber <brion@pobox.com> | 2010-02-25 15:22:23 -0800 |
commit | e254c660f66e1a04ac18220c95ef47aa88117e3c (patch) | |
tree | d492aa1371395bdd116edba4850905403eee300b /actions/subscribe.php | |
parent | bac959ad46e6e04bce8c29f8a24e198e62bf5616 (diff) |
Fix bug on subscribe/unsubscribe in profile lists. Bogus call to nonexisting profile->getProfile() was masked by DB_DataObject
Diffstat (limited to 'actions/subscribe.php')
-rw-r--r-- | actions/subscribe.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/subscribe.php b/actions/subscribe.php index 3745311b6..b1243f393 100644 --- a/actions/subscribe.php +++ b/actions/subscribe.php @@ -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'); |