aboutsummaryrefslogtreecommitdiff
path: root/views/default/comments/forms/edit.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/comments/forms/edit.php')
-rw-r--r--views/default/comments/forms/edit.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/default/comments/forms/edit.php b/views/default/comments/forms/edit.php
index 0717daf64..4e2e23a6f 100644
--- a/views/default/comments/forms/edit.php
+++ b/views/default/comments/forms/edit.php
@@ -13,7 +13,7 @@
$form_body .= elgg_view('input/hidden', array('internalname' => 'entity_guid', 'value' => $vars['entity']->getGUID()));
$form_body .= elgg_view('input/submit', array('value' => elgg_echo("generic_comments:post"))) . "</div>";
- echo elgg_view('input/form', array('body' => $form_body, 'action' => "{$vars['url']}action/comments/add"));
+ echo elgg_view('input/form', array('body' => $form_body, 'action' => elgg_get_site_url()."action/comments/add"));
}