summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/disfavorform.php6
-rw-r--r--lib/favorform.php4
2 files changed, 5 insertions, 5 deletions
diff --git a/lib/disfavorform.php b/lib/disfavorform.php
index ffca0cd8b..d0c3b1832 100644
--- a/lib/disfavorform.php
+++ b/lib/disfavorform.php
@@ -88,7 +88,7 @@ class DisfavorForm extends Form
function action()
{
- common_local_url('disfavor');
+ return common_local_url('disfavor');
}
/**
@@ -136,7 +136,7 @@ class DisfavorForm extends Form
function formClass()
{
- return 'disfavor';
+ return 'form_disfavor';
}
-} \ No newline at end of file
+}
diff --git a/lib/favorform.php b/lib/favorform.php
index 37e13fb1c..f3a7a9756 100644
--- a/lib/favorform.php
+++ b/lib/favorform.php
@@ -88,7 +88,7 @@ class FavorForm extends Form
function action()
{
- common_local_url('favor');
+ return common_local_url('favor');
}
/**
@@ -148,6 +148,6 @@ class FavorForm extends Form
function formClass()
{
- return 'notice_favorite';
+ return 'form_favor';
}
}