diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-03-04 01:39:41 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-03-04 01:39:41 +0000 |
commit | 4bb42e5e8e425aae0ba0e668a06e752431fb1c35 (patch) | |
tree | efad0fb8a5a4f08f7a609052c7a02bec6e1cbb3a /mod/groups/actions | |
parent | 1bcc2d793704bf43f6ecf9a01259e9cd6f6f8b2a (diff) | |
download | elgg-4bb42e5e8e425aae0ba0e668a06e752431fb1c35.tar.gz elgg-4bb42e5e8e425aae0ba0e668a06e752431fb1c35.tar.bz2 |
fixed bug in accepting invitations to closed groups
git-svn-id: http://code.elgg.org/elgg/trunk@8574 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/groups/actions')
-rw-r--r-- | mod/groups/actions/groups/membership/join.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/groups/actions/groups/membership/join.php b/mod/groups/actions/groups/membership/join.php index 3c4571a59..edcffb507 100644 --- a/mod/groups/actions/groups/membership/join.php +++ b/mod/groups/actions/groups/membership/join.php @@ -28,7 +28,7 @@ if (($user instanceof ElggUser) && ($group instanceof ElggGroup)) { // anyone can join public groups and admins can join any group $join = true; } else { - if (check_entity_relationship($user->guid, 'membership_request', $group->guid)) { + if (check_entity_relationship($group->guid, 'invited', $user->guid)) { // user has invite to closed group $join = true; } |