summaryrefslogtreecommitdiff
path: root/actions/disfavor.php
diff options
context:
space:
mode:
authorsarven <csarven@plantard.controlezvous.ca>2009-01-21 02:52:16 +0000
committersarven <csarven@plantard.controlezvous.ca>2009-01-21 02:52:16 +0000
commite9b9795eeb30837ddddd980eaea9d11c055cb843 (patch)
tree560a7e4b0866c0bae877e5b26641ad8122495f32 /actions/disfavor.php
parent624ca93c9d2a55d7acfca453ba22268d09154dab (diff)
(dis)favor form method call fix
Diffstat (limited to 'actions/disfavor.php')
-rw-r--r--actions/disfavor.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/actions/disfavor.php b/actions/disfavor.php
index 3e3e4a547..d4a189d19 100644
--- a/actions/disfavor.php
+++ b/actions/disfavor.php
@@ -19,6 +19,8 @@
if (!defined('LACONICA')) { exit(1); }
+require_once INSTALLDIR.'/lib/favorform.php';
+
class DisfavorAction extends Action
{
@@ -74,7 +76,8 @@ class DisfavorAction extends Action
$this->element('title', null, _('Add to favorites'));
$this->elementEnd('head');
$this->elementStart('body');
- common_favor_form($notice);
+ $favor = new FavorForm($this, $notice);
+ $favor->show();
$this->elementEnd('body');
$this->elementEnd('html');
} else {