diff options
Diffstat (limited to 'mod/file/views/default')
-rw-r--r-- | mod/file/views/default/file/group_module.php | 2 | ||||
-rw-r--r-- | mod/file/views/default/widgets/filerepo/content.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/mod/file/views/default/file/group_module.php b/mod/file/views/default/file/group_module.php index e0501709f..8a0318a37 100644 --- a/mod/file/views/default/file/group_module.php +++ b/mod/file/views/default/file/group_module.php @@ -3,7 +3,7 @@ * Group file module */ -$group = elgg_get_page_owner(); +$group = elgg_get_page_owner_entity(); if ($group->file_enable == "no") { return true; diff --git a/mod/file/views/default/widgets/filerepo/content.php b/mod/file/views/default/widgets/filerepo/content.php index d2cd246ae..d3deece56 100644 --- a/mod/file/views/default/widgets/filerepo/content.php +++ b/mod/file/views/default/widgets/filerepo/content.php @@ -21,7 +21,7 @@ $content = elgg_list_entities($options); echo $content; if ($content) { - $url = "pg/file/owner/" . elgg_get_page_owner()->username; + $url = "pg/file/owner/" . elgg_get_page_owner_entity()->username; $more_link = elgg_view('output/url', array( 'href' => $url, 'text' => elgg_echo('file:more'), |