aboutsummaryrefslogtreecommitdiff
path: root/mod/file/search.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/file/search.php')
-rw-r--r--mod/file/search.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/file/search.php b/mod/file/search.php
index 157b5b8b8..b7f82e951 100644
--- a/mod/file/search.php
+++ b/mod/file/search.php
@@ -12,7 +12,7 @@ $page_owner_guid = get_input('page_owner', null);
if ($page_owner_guid) {
elgg_set_page_owner_guid($page_owner_guid);
}
-$owner = elgg_get_page_owner();
+$owner = elgg_get_page_owner_entity();
group_gatekeeper();