aboutsummaryrefslogtreecommitdiff
path: root/mod/groups/actions/invite.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/groups/actions/invite.php')
-rw-r--r--mod/groups/actions/invite.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/groups/actions/invite.php b/mod/groups/actions/invite.php
index e8eeb3330..1f8281071 100644
--- a/mod/groups/actions/invite.php
+++ b/mod/groups/actions/invite.php
@@ -5,7 +5,7 @@
* @package ElggGroups
*/
-$logged_in_user = get_loggedin_user();
+$logged_in_user = elgg_get_logged_in_user_entity();
$user_guid = get_input('user_guid');
if (!is_array($user_guid)) {