aboutsummaryrefslogtreecommitdiff
path: root/views/default/friends/forms/edit.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/friends/forms/edit.php')
-rw-r--r--views/default/friends/forms/edit.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/default/friends/forms/edit.php b/views/default/friends/forms/edit.php
index df1188fe1..09a16c9ae 100644
--- a/views/default/friends/forms/edit.php
+++ b/views/default/friends/forms/edit.php
@@ -50,4 +50,4 @@ if (isset($vars['collection'])) {
$form_body .= elgg_view('input/submit', array('internalname' => 'submit', 'value' => elgg_echo('save')));
$form_body .= "</p></div>";
-echo elgg_view('input/form', array('body' => $form_body, 'action' => "{$vars['url']}action/$action")); \ No newline at end of file
+echo elgg_view('input/form', array('body' => $form_body, 'action' => elgg_get_site_url()."action/$action")); \ No newline at end of file