aboutsummaryrefslogtreecommitdiff
path: root/mod/thewire/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/thewire/index.php')
-rw-r--r--mod/thewire/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/thewire/index.php b/mod/thewire/index.php
index a7a24a36e..489427975 100644
--- a/mod/thewire/index.php
+++ b/mod/thewire/index.php
@@ -12,7 +12,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($page_owner->getGUID());
}