diff options
Diffstat (limited to 'engine/classes/ElggGroup.php')
-rw-r--r-- | engine/classes/ElggGroup.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/classes/ElggGroup.php b/engine/classes/ElggGroup.php index 81c1db138..c709eb3a6 100644 --- a/engine/classes/ElggGroup.php +++ b/engine/classes/ElggGroup.php @@ -285,7 +285,7 @@ class ElggGroup extends ElggEntity */ public function isMember($user = 0) { if (!($user instanceof ElggUser)) { - $user = get_loggedin_user(); + $user = elgg_get_logged_in_user_entity(); } if (!($user instanceof ElggUser)) { return false; @@ -380,4 +380,4 @@ class ElggGroup extends ElggEntity 'description', )); } -}
\ No newline at end of file +} |