summaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
authorBrion Vibber <brion@pobox.com>2010-02-25 15:22:23 -0800
committerBrion Vibber <brion@pobox.com>2010-02-25 15:22:23 -0800
commite254c660f66e1a04ac18220c95ef47aa88117e3c (patch)
treed492aa1371395bdd116edba4850905403eee300b /actions
parentbac959ad46e6e04bce8c29f8a24e198e62bf5616 (diff)
Fix bug on subscribe/unsubscribe in profile lists. Bogus call to nonexisting profile->getProfile() was masked by DB_DataObject
Diffstat (limited to 'actions')
-rw-r--r--actions/subscribe.php2
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');