diff options
author | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-11-14 19:03:58 +0000 |
---|---|---|
committer | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-11-14 19:03:58 +0000 |
commit | 9bd5aad2c3bdb4a283d2b15ed0f91e295099c9e2 (patch) | |
tree | 8cf4279f57f654d5435dacba4dc2bcb4030d2199 /dashboard/index.php | |
parent | 2d55e88e095aa1a6b4f58101077aab81788761c9 (diff) | |
download | elgg-9bd5aad2c3bdb4a283d2b15ed0f91e295099c9e2.tar.gz elgg-9bd5aad2c3bdb4a283d2b15ed0f91e295099c9e2.tar.bz2 |
* Introducing get_loggedin_user() and get_loggedin_userid()
* ACLs now using get_loggedin_user*
* Some logic cleaned up
* Some "Undefined..." messages cleaned up
git-svn-id: https://code.elgg.org/elgg/trunk@2459 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'dashboard/index.php')
-rw-r--r-- | dashboard/index.php | 2 |
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
|