aboutsummaryrefslogtreecommitdiff
path: root/mod/groups/membershipreq.php
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-02-27 13:45:20 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-02-27 13:45:20 +0000
commitb8774c56edb22840530c6f2ddcbe2f2022a417d1 (patch)
treedcca0992744a46df9a3dbf597ce2b8febe8dc4d0 /mod/groups/membershipreq.php
parente658fb3a978e40653d72ef33549177c87cb714ce (diff)
downloadelgg-b8774c56edb22840530c6f2ddcbe2f2022a417d1.tar.gz
elgg-b8774c56edb22840530c6f2ddcbe2f2022a417d1.tar.bz2
Join request management added.
git-svn-id: https://code.elgg.org/elgg/trunk@2980 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/groups/membershipreq.php')
-rw-r--r--mod/groups/membershipreq.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/groups/membershipreq.php b/mod/groups/membershipreq.php
index 983f8d363..7e67a7cda 100644
--- a/mod/groups/membershipreq.php
+++ b/mod/groups/membershipreq.php
@@ -23,8 +23,8 @@
if (($group) && ($group->canEdit()))
{
- $requests = get_entities_from_relationship('membership_request',$group_guid,false,'','',0,'',9999);
- $area2 .= elgg_view('groups/membershiprequests',array('requests' => $requests));
+ $requests = get_entities_from_relationship('membership_request',$group_guid,true,'','',0,'',9999);
+ $area2 .= elgg_view('groups/membershiprequests',array('requests' => $requests, 'entity' => $group));
} else {
$area2 .= elgg_echo("groups:noaccess");