aboutsummaryrefslogtreecommitdiff
path: root/mod/file/view.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/file/view.php')
-rw-r--r--mod/file/view.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/file/view.php b/mod/file/view.php
index ee882f604..72660c406 100644
--- a/mod/file/view.php
+++ b/mod/file/view.php
@@ -8,7 +8,7 @@
$file = get_entity(get_input('guid'));
elgg_set_page_owner_guid($file->getContainerGUID());
-$owner = elgg_get_page_owner();
+$owner = elgg_get_page_owner_entity();
elgg_push_breadcrumb(elgg_echo('file'), 'pg/file/all');