diff options
Diffstat (limited to 'actions/leave_groupchat.php')
-rw-r--r-- | actions/leave_groupchat.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/leave_groupchat.php b/actions/leave_groupchat.php index 079ad4898..e04ab8846 100644 --- a/actions/leave_groupchat.php +++ b/actions/leave_groupchat.php @@ -1,6 +1,6 @@ <?php -$user = get_loggedin_user(); +$user = elgg_get_logged_in_user_entity(); $group = get_entity(get_input('group_guid')); if ($user && $group) { |