aboutsummaryrefslogtreecommitdiff
path: root/dashboard/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'dashboard/index.php')
-rw-r--r--dashboard/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/dashboard/index.php b/dashboard/index.php
index ae3fa546c..1c46cc450 100644
--- a/dashboard/index.php
+++ b/dashboard/index.php
@@ -19,7 +19,7 @@
// Set context and title
set_context('dashboard');
- set_page_owner($_SESSION['user']->getGUID());
+ set_page_owner(get_loggedin_userid());
$title = elgg_echo('dashboard');
// wrap intro message in a div