aboutsummaryrefslogtreecommitdiff
path: root/mod/riverdashboard/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/riverdashboard/index.php')
-rw-r--r--mod/riverdashboard/index.php4
1 files changed, 2 insertions, 2 deletions
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;