diff options
author | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-10-30 22:04:16 +0000 |
---|---|---|
committer | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-10-30 22:04:16 +0000 |
commit | 42d890455ae7b6a61a566d174f9980b8faee782f (patch) | |
tree | f5da4e9c5cb9e2656dbbde06ba35dd9dc4d333d4 /mod/pages/world.php | |
parent | ba5681722bbb3df247cda8eb3f64c7e040e5bf00 (diff) | |
download | elgg-42d890455ae7b6a61a566d174f9980b8faee782f.tar.gz elgg-42d890455ae7b6a61a566d174f9980b8faee782f.tar.bz2 |
Replaced $_SESSION['id'] and $_SESSION['guid'] with get_loggedin_userid()
git-svn-id: http://code.elgg.org/elgg/trunk@7143 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/pages/world.php')
-rw-r--r-- | mod/pages/world.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/pages/world.php b/mod/pages/world.php index 0b411b8b2..f00fb3acd 100644 --- a/mod/pages/world.php +++ b/mod/pages/world.php @@ -13,7 +13,7 @@ global $CONFIG; $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()); } if (($page_owner instanceof ElggEntity) && ($page_owner->canWriteToContainer())){ |