summaryrefslogtreecommitdiff
path: root/modules/comment/controllers/comment.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules/comment/controllers/comment.php')
-rw-r--r--modules/comment/controllers/comment.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/comment/controllers/comment.php b/modules/comment/controllers/comment.php
index a8f52443..4c04e007 100644
--- a/modules/comment/controllers/comment.php
+++ b/modules/comment/controllers/comment.php
@@ -26,7 +26,7 @@ class Comment_Controller extends REST_Controller {
*/
public function _form($comment) {
$form = comment::get_edit_form($comment);
- print $form->render("form.html");
+ print $form;
}
/**
@@ -58,7 +58,7 @@ class Comment_Controller extends REST_Controller {
$comment->save();
return;
}
- print $form->render();
+ print $form;
}
/**