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.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/comment/controllers/comment.php b/modules/comment/controllers/comment.php
index 67a4897b..d2135cf9 100644
--- a/modules/comment/controllers/comment.php
+++ b/modules/comment/controllers/comment.php
@@ -80,7 +80,7 @@ class Comment_Controller extends REST_Controller {
$data = array('valid' => true, 'html' => sprintf(comment::show_comment_list($item_id)));
} else {
- $data = array('valid' => false, 'html' => sprintf($form->render("form.html")));
+ $data = array('valid' => false, 'html' => sprintf($form->render()));
}
if (request::method() == "get") {