diff options
author | sarven <csarven@plantard.controlezvous.ca> | 2009-01-21 02:52:16 +0000 |
---|---|---|
committer | sarven <csarven@plantard.controlezvous.ca> | 2009-01-21 02:52:16 +0000 |
commit | e9b9795eeb30837ddddd980eaea9d11c055cb843 (patch) | |
tree | 560a7e4b0866c0bae877e5b26641ad8122495f32 /actions/favor.php | |
parent | 624ca93c9d2a55d7acfca453ba22268d09154dab (diff) |
(dis)favor form method call fix
Diffstat (limited to 'actions/favor.php')
-rw-r--r-- | actions/favor.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/actions/favor.php b/actions/favor.php index afda93cff..92756366d 100644 --- a/actions/favor.php +++ b/actions/favor.php @@ -20,6 +20,7 @@ if (!defined('LACONICA')) { exit(1); } require_once(INSTALLDIR.'/lib/mail.php'); +require_once INSTALLDIR.'/lib/disfavorform.php'; class FavorAction extends Action { @@ -73,7 +74,8 @@ class FavorAction extends Action $this->element('title', null, _('Disfavor favorite')); $this->elementEnd('head'); $this->elementStart('body'); - common_disfavor_form($notice); + $disfavor = new DisFavorForm($this, $notice); + $disfavor->show(); $this->elementEnd('body'); $this->elementEnd('html'); } else { |