aboutsummaryrefslogtreecommitdiff
path: root/views/default/usersettings/form.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/usersettings/form.php')
-rw-r--r--views/default/usersettings/form.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/default/usersettings/form.php b/views/default/usersettings/form.php
index 4bce6b228..02ccbc795 100644
--- a/views/default/usersettings/form.php
+++ b/views/default/usersettings/form.php
@@ -7,4 +7,4 @@
$form_body = elgg_view("usersettings/user");
$form_body .= "<div class='divider'></div>".elgg_view('input/submit', array('value' => elgg_echo('save'), 'class' => 'submit_button usersettings_save'));
-echo elgg_view('input/form', array('action' => "{$vars['url']}action/usersettings/save", 'body' => $form_body)); \ No newline at end of file
+echo elgg_view('input/form', array('action' => elgg_get_site_url()."action/usersettings/save", 'body' => $form_body)); \ No newline at end of file