aboutsummaryrefslogtreecommitdiff
path: root/mod/invitefriends/actions
diff options
context:
space:
mode:
Diffstat (limited to 'mod/invitefriends/actions')
-rw-r--r--mod/invitefriends/actions/invite.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/invitefriends/actions/invite.php b/mod/invitefriends/actions/invite.php
index d942bd36c..fa95ec23d 100644
--- a/mod/invitefriends/actions/invite.php
+++ b/mod/invitefriends/actions/invite.php
@@ -45,7 +45,7 @@ foreach ($emails as $email) {
continue;
}
- $link = $CONFIG->wwwroot . 'pg/register?friend_guid=' . $current_user->guid . '&invitecode=' . generate_invite_code($current_user->username);
+ $link = elgg_get_site_url() . 'pg/register?friend_guid=' . $current_user->guid . '&invitecode=' . generate_invite_code($current_user->username);
$message = sprintf(elgg_echo('invitefriends:email'),
$CONFIG->site->name,
$current_user->name,