From f49fdf4e1c80fe5bde922c25bdd6ca0e2c912ddb Mon Sep 17 00:00:00 2001 From: ewinslow Date: Sat, 30 Oct 2010 21:32:54 +0000 Subject: Refs #2124: Using get_loggedin_user functions instead of $vars['user'], $_SESSION['user'], etc. git-svn-id: http://code.elgg.org/elgg/trunk@7139 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/riverdashboard/index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mod/riverdashboard/index.php') diff --git a/mod/riverdashboard/index.php b/mod/riverdashboard/index.php index c4a567a8d..e0aa21b1b 100644 --- a/mod/riverdashboard/index.php +++ b/mod/riverdashboard/index.php @@ -23,12 +23,12 @@ $body = ''; switch($orient) { case 'mine': - $subject_guid = $_SESSION['user']->guid; + $subject_guid = get_loggedin_userid(); $relationship_type = ''; $title_wording = elgg_echo('river:mine'); break; case 'friends': - $subject_guid = $_SESSION['user']->guid; + $subject_guid = get_loggedin_userid(); $relationship_type = 'friend'; $title_wording = elgg_echo('river:friends'); break; -- cgit v1.2.3