aboutsummaryrefslogtreecommitdiff
path: root/mod/members/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/members/index.php')
-rw-r--r--mod/members/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/members/index.php b/mod/members/index.php
index b10f41e29..30d6102e3 100644
--- a/mod/members/index.php
+++ b/mod/members/index.php
@@ -10,7 +10,7 @@ require_once(dirname(dirname(dirname(__FILE__))) . "/engine/start.php");
// 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());
}