aboutsummaryrefslogtreecommitdiff
path: root/mod/groups
diff options
context:
space:
mode:
authorAday Talavera <aday.talavera@gmail.com>2013-02-22 13:47:10 +0000
committerAday Talavera <aday.talavera@gmail.com>2013-02-22 13:47:10 +0000
commit791ba1944832fe7a831f8755c14cb8f9691be6f1 (patch)
tree995ff6e43330bc49e83d2c2c1edca2a0a7fe3b89 /mod/groups
parent556b3f68be6d568e1ab19a6e02a073da8f49ea38 (diff)
downloadelgg-791ba1944832fe7a831f8755c14cb8f9691be6f1.tar.gz
elgg-791ba1944832fe7a831f8755c14cb8f9691be6f1.tar.bz2
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,
));