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 eee3609fb..21e741184 100644
--- a/mod/file/world.php
+++ b/mod/file/world.php
@@ -13,7 +13,7 @@
// Get the current page's owner
$page_owner = page_owner_entity();
if ($page_owner === false || is_null($page_owner)) {
- $page_owner = $_SESSION['user'];
+ $page_owner = get_loggedin_user();
set_page_owner($_SESSION['guid']);
}