aboutsummaryrefslogtreecommitdiff
path: root/mod
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2011-09-10 20:15:57 -0400
committerCash Costello <cash.costello@gmail.com>2011-09-10 20:15:57 -0400
commite5eb0c827671e7d0a4983839c30c5da0156ee231 (patch)
treedecda373f875f9d07de9a3273f617f71741cf501 /mod
parent4f6968700eb5eff3e45fdb4935c275e41a1d3adf (diff)
downloadelgg-e5eb0c827671e7d0a4983839c30c5da0156ee231.tar.gz
elgg-e5eb0c827671e7d0a4983839c30c5da0156ee231.tar.bz2
Fixes #3752 corrected URL for group membership requests
Diffstat (limited to 'mod')
-rw-r--r--mod/groups/actions/groups/membership/join.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/mod/groups/actions/groups/membership/join.php b/mod/groups/actions/groups/membership/join.php
index 210e285a5..b4f4e280c 100644
--- a/mod/groups/actions/groups/membership/join.php
+++ b/mod/groups/actions/groups/membership/join.php
@@ -10,6 +10,8 @@
* @package ElggGroups
*/
+global $CONFIG;
+
$user_guid = get_input('user_guid', elgg_get_logged_in_user_guid());
$group_guid = get_input('group_guid');
@@ -45,7 +47,7 @@ if (($user instanceof ElggUser) && ($group instanceof ElggGroup)) {
add_entity_relationship($user->guid, 'membership_request', $group->guid);
// Notify group owner
- $url = "{$CONFIG->url}mod/groups/membershipreq.php?group_guid={$group->guid}";
+ $url = "{$CONFIG->url}groups/requests/$group->guid";
$subject = elgg_echo('groups:request:subject', array(
$user->name,
$group->name,