aboutsummaryrefslogtreecommitdiff
path: root/mod/invitefriends
diff options
context:
space:
mode:
Diffstat (limited to 'mod/invitefriends')
-rw-r--r--mod/invitefriends/views/default/invitefriends/form.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/invitefriends/views/default/invitefriends/form.php b/mod/invitefriends/views/default/invitefriends/form.php
index 301f99ce3..de8d77388 100644
--- a/mod/invitefriends/views/default/invitefriends/form.php
+++ b/mod/invitefriends/views/default/invitefriends/form.php
@@ -6,7 +6,7 @@
*/
echo elgg_view('input/form', array(
- 'action' => $vars['url'] . 'action/invitefriends/invite',
+ 'action' => elgg_get_site_url() . 'action/invitefriends/invite',
'body' => elgg_view('invitefriends/formitems'),
'method' => 'post'
)