aboutsummaryrefslogtreecommitdiff
path: root/mod/invitefriends
diff options
context:
space:
mode:
Diffstat (limited to 'mod/invitefriends')
-rw-r--r--mod/invitefriends/actions/invite.php2
-rw-r--r--mod/invitefriends/start.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/mod/invitefriends/actions/invite.php b/mod/invitefriends/actions/invite.php
index 1a8956419..d9b6db792 100644
--- a/mod/invitefriends/actions/invite.php
+++ b/mod/invitefriends/actions/invite.php
@@ -47,7 +47,7 @@ foreach ($emails as $email) {
continue;
}
- $link = elgg_get_site_url() . 'pg/register?friend_guid=' . $current_user->guid . '&invitecode=' . generate_invite_code($current_user->username);
+ $link = elgg_get_site_url() . 'register?friend_guid=' . $current_user->guid . '&invitecode=' . generate_invite_code($current_user->username);
$message = elgg_echo('invitefriends:email', array(
$site->name,
$current_user->name,
diff --git a/mod/invitefriends/start.php b/mod/invitefriends/start.php
index 123ab7364..8f71314b3 100644
--- a/mod/invitefriends/start.php
+++ b/mod/invitefriends/start.php
@@ -15,7 +15,7 @@ function invitefriends_init() {
$params = array(
'name' => 'invite',
'text' => elgg_echo('friends:invite'),
- 'href' => "pg/invite/",
+ 'href' => "invite",
'contexts' => array('friends'),
);
elgg_register_menu_item('page', $params);