aboutsummaryrefslogtreecommitdiff
path: root/mod/file/views/default/widgets
diff options
context:
space:
mode:
Diffstat (limited to 'mod/file/views/default/widgets')
-rw-r--r--mod/file/views/default/widgets/filerepo/content.php2
1 files changed, 1 insertions, 1 deletions
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'),