aboutsummaryrefslogtreecommitdiff
path: root/mod/groups
diff options
context:
space:
mode:
Diffstat (limited to 'mod/groups')
-rw-r--r--mod/groups/lib/groups.php6
-rw-r--r--mod/groups/views/default/widgets/a_users_groups/content.php2
2 files changed, 4 insertions, 4 deletions
diff --git a/mod/groups/lib/groups.php b/mod/groups/lib/groups.php
index cb9daf8e9..924ce5e2a 100644
--- a/mod/groups/lib/groups.php
+++ b/mod/groups/lib/groups.php
@@ -62,7 +62,7 @@ function groups_handle_all_page() {
*/
function groups_handle_owned_page() {
- $page_owner = elgg_get_page_owner();
+ $page_owner = elgg_get_page_owner_entity();
$title = elgg_echo('groups:owned');
elgg_push_breadcrumb($title);
@@ -88,7 +88,7 @@ function groups_handle_owned_page() {
*/
function groups_handle_mine_page() {
- $page_owner = elgg_get_page_owner();
+ $page_owner = elgg_get_page_owner_entity();
$title = elgg_echo('groups:yours');
elgg_push_breadcrumb($title);
@@ -156,7 +156,7 @@ function groups_handle_edit_page($page, $guid = 0) {
function groups_handle_invitations_page() {
gatekeeper();
- $user = elgg_get_page_owner();
+ $user = elgg_get_page_owner_entity();
$title = elgg_echo('groups:invitations');
elgg_push_breadcrumb($title);
diff --git a/mod/groups/views/default/widgets/a_users_groups/content.php b/mod/groups/views/default/widgets/a_users_groups/content.php
index b9060dbb0..c15e4507e 100644
--- a/mod/groups/views/default/widgets/a_users_groups/content.php
+++ b/mod/groups/views/default/widgets/a_users_groups/content.php
@@ -21,7 +21,7 @@ $content = elgg_list_entities_from_relationship($options);
echo $content;
if ($content) {
- $url = "pg/group/member/" . elgg_get_page_owner()->username;
+ $url = "pg/group/member/" . elgg_get_page_owner_entity()->username;
$more_link = elgg_view('output/url', array(
'href' => $url,
'text' => elgg_echo('groups:more'),