aboutsummaryrefslogtreecommitdiff
path: root/engine/classes/ElggUser.php
diff options
context:
space:
mode:
Diffstat (limited to 'engine/classes/ElggUser.php')
-rw-r--r--engine/classes/ElggUser.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/classes/ElggUser.php b/engine/classes/ElggUser.php
index 333792513..b2303c525 100644
--- a/engine/classes/ElggUser.php
+++ b/engine/classes/ElggUser.php
@@ -307,7 +307,7 @@ class ElggUser extends ElggEntity
* @return true|false
*/
function isFriend() {
- return $this->isFriendOf(get_loggedin_userid());
+ return $this->isFriendOf(elgg_get_logged_in_user_guid());
}
/**