]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Using the right form class name
authorSarven Capadisli <csarven@status.net>
Fri, 20 Nov 2009 03:06:12 +0000 (03:06 +0000)
committerSarven Capadisli <csarven@status.net>
Fri, 20 Nov 2009 03:06:12 +0000 (03:06 +0000)
plugins/UserFlag/flagprofileform.php

index 262dad4a777aa0690a87bf88c3e29fc5fdc55730..c20929a20c8ca2d13d5421bc2cd5fd10136f7571 100644 (file)
@@ -47,6 +47,18 @@ require_once INSTALLDIR.'/lib/form.php';
 
 class FlagProfileForm extends ProfileActionForm
 {
+    /**
+     * class of the form
+     * Action this form provides
+     *
+     * @return string class of the form
+     */
+
+    function formClass()
+    {
+        return 'form_entity_flag';
+    }
+
     /**
      * Action this form provides
      *