aboutsummaryrefslogtreecommitdiff
path: root/mod/file/world.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/file/world.php')
-rw-r--r--mod/file/world.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/file/world.php b/mod/file/world.php
index 21e741184..2bc24bd66 100644
--- a/mod/file/world.php
+++ b/mod/file/world.php
@@ -11,7 +11,7 @@
$offset = get_input("offset", 0);
// Get the current page's owner
- $page_owner = page_owner_entity();
+ $page_owner = elgg_get_page_owner();
if ($page_owner === false || is_null($page_owner)) {
$page_owner = get_loggedin_user();
set_page_owner($_SESSION['guid']);