aboutsummaryrefslogtreecommitdiff
path: root/mod/file/upload.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/file/upload.php')
-rw-r--r--mod/file/upload.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/file/upload.php b/mod/file/upload.php
index 8f10b9d82..f26b1bbee 100644
--- a/mod/file/upload.php
+++ b/mod/file/upload.php
@@ -8,7 +8,7 @@
elgg_load_library('elgg:file');
elgg_set_page_owner_guid(get_input('guid'));
-$owner = elgg_get_page_owner();
+$owner = elgg_get_page_owner_entity();
gatekeeper();
group_gatekeeper();