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 2bc24bd66..e35b3c067 100644
--- a/mod/file/world.php
+++ b/mod/file/world.php
@@ -14,7 +14,7 @@
$page_owner = elgg_get_page_owner();
if ($page_owner === false || is_null($page_owner)) {
$page_owner = get_loggedin_user();
- set_page_owner($_SESSION['guid']);
+ set_page_owner(get_loggedin_userid());
}
$title = elgg_echo('file:all');