We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 59ef19b7 authored by Evan Prodromou's avatar Evan Prodromou

fix requires in dis/favor and correct url in form

darcs-hash:20080908182559-84dde-27b288efd341a4dd148abb641064d9e48ca2aa11.gz
parent c47a576f
......@@ -19,8 +19,6 @@
if (!defined('LACONICA')) { exit(1); }
require_once($INSTALLDIR.'/lib/mail.php');
class DisfavorAction extends Action {
function handle($args) {
......
......@@ -19,7 +19,7 @@
if (!defined('LACONICA')) { exit(1); }
require_once($INSTALLDIR.'/lib/mail.php');
require_once(INSTALLDIR.'/lib/mail.php');
class FavorAction extends Action {
......
......@@ -1560,7 +1560,7 @@ function common_disfavor_form($notice) {
function common_favor_form($notice) {
common_element_start('form', array('id' => 'favor-' . $notice->id,
'method' => 'post',
'action' => common_local_url('disfavor')));
'action' => common_local_url('favor')));
common_hidden('token', common_session_token());
common_hidden('notice', $notice->id);
common_submit('favor-submit-' . $notice->id, '♡');
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment