aboutsummaryrefslogtreecommitdiff
path: root/mod/groups
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2013-02-23 04:54:43 -0800
committerCash Costello <cash.costello@gmail.com>2013-02-23 04:54:43 -0800
commit262424936a83d9fc6968a261381a4c2ba95d0f0f (patch)
tree995ff6e43330bc49e83d2c2c1edca2a0a7fe3b89 /mod/groups
parent556b3f68be6d568e1ab19a6e02a073da8f49ea38 (diff)
parent791ba1944832fe7a831f8755c14cb8f9691be6f1 (diff)
downloadelgg-262424936a83d9fc6968a261381a4c2ba95d0f0f.tar.gz
elgg-262424936a83d9fc6968a261381a4c2ba95d0f0f.tar.bz2
Merge pull request #5120 from adayth/1.8-fix-5119
Fixes #5119: Pending membership request shows wrong count
Diffstat (limited to 'mod/groups')
-rw-r--r--mod/groups/start.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/groups/start.php b/mod/groups/start.php
index 89194d1be..46ab0e636 100644
--- a/mod/groups/start.php
+++ b/mod/groups/start.php
@@ -148,7 +148,7 @@ function groups_setup_sidebar_menus() {
$count = elgg_get_entities_from_relationship(array(
'type' => 'user',
'relationship' => 'membership_request',
- 'relationship_guid' => $guid,
+ 'relationship_guid' => $page_owner->getGUID(),
'inverse_relationship' => true,
'count' => true,
));