aboutsummaryrefslogtreecommitdiff
path: root/mod/file/edit.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/file/edit.php')
-rw-r--r--mod/file/edit.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/file/edit.php b/mod/file/edit.php
index 6c7dbd092..8d091caa0 100644
--- a/mod/file/edit.php
+++ b/mod/file/edit.php
@@ -18,7 +18,7 @@ if (!$file) {
}
// Set the page owner
-$page_owner = page_owner_entity();
+$page_owner = elgg_get_page_owner();
if (!$page_owner) {
$container_guid = $file->container_guid;
if ($container_guid) {