diff options
Diffstat (limited to 'views/default/user')
-rw-r--r-- | views/default/user/default.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/views/default/user/default.php b/views/default/user/default.php index 3e2b9f433..2abc19991 100644 --- a/views/default/user/default.php +++ b/views/default/user/default.php @@ -12,9 +12,9 @@ $icon = elgg_view('profile/icon', array('entity' => $user, 'size' => 'tiny')); // Simple XFN $rel = ''; -if (get_loggedin_userid() == $user->guid) { +if (elgg_get_logged_in_user_guid() == $user->guid) { $rel = 'rel="me"'; -} elseif (check_entity_relationship(get_loggedin_userid(), 'friend', $user->guid)) { +} elseif (check_entity_relationship(elgg_get_logged_in_user_guid(), 'friend', $user->guid)) { $rel = 'rel="friend"'; } |