diff options
author | Cash Costello <cash.costello@gmail.com> | 2012-07-14 07:12:12 -0400 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2012-07-14 07:12:12 -0400 |
commit | d7a5c24dd7c31318cf2e4405337919b7fd5ec304 (patch) | |
tree | 68d6c4f31fccc15c0041bfec6dbaeeab9cdb306c /views/default/page/elements/comments.php | |
parent | 901cb69ba0b40d247bea5b0e1b4e4588a86800c1 (diff) | |
download | elgg-d7a5c24dd7c31318cf2e4405337919b7fd5ec304.tar.gz elgg-d7a5c24dd7c31318cf2e4405337919b7fd5ec304.tar.bz2 |
Fixes #4691 not passing name to the form since not valid
Diffstat (limited to 'views/default/page/elements/comments.php')
-rw-r--r-- | views/default/page/elements/comments.php | 3 |
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>'; |