aboutsummaryrefslogtreecommitdiff
path: root/mod/groups/membership.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/groups/membership.php')
-rw-r--r--mod/groups/membership.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/groups/membership.php b/mod/groups/membership.php
index 0085033fa..b479018ca 100644
--- a/mod/groups/membership.php
+++ b/mod/groups/membership.php
@@ -14,7 +14,7 @@
$limit = get_input("limit", 10);
$offset = get_input("offset", 0);
- if (page_owner() == get_loggedin_userid()) {
+ if (elgg_get_page_owner_guid() == get_loggedin_userid()) {
$title = elgg_echo("groups:yours");
} else $title = elgg_echo("groups:owned");