aboutsummaryrefslogtreecommitdiff
path: root/mod/groups/membershipreq.php
diff options
context:
space:
mode:
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");