aboutsummaryrefslogtreecommitdiff
path: root/views/default/page/elements/comments.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/page/elements/comments.php')
-rw-r--r--views/default/page/elements/comments.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/views/default/page/elements/comments.php b/views/default/page/elements/comments.php
index cf9b5f08b..97cb9574e 100644
--- a/views/default/page/elements/comments.php
+++ b/views/default/page/elements/comments.php
@@ -36,8 +36,7 @@ if ($html) {
}
if ($show_add_form) {
- $form_vars = array('name' => 'elgg_add_comment');
- echo elgg_view_form('comments/add', $form_vars, $vars);
+ echo elgg_view_form('comments/add', array(), $vars);
}
echo '</div>';