aboutsummaryrefslogtreecommitdiff
path: root/actions/user/default_access.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/user/default_access.php')
-rw-r--r--actions/user/default_access.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/user/default_access.php b/actions/user/default_access.php
index 0b7d0bfbd..5ddd86296 100644
--- a/actions/user/default_access.php
+++ b/actions/user/default_access.php
@@ -11,7 +11,7 @@ if (elgg_get_config('allow_user_default_access')) {
$user_id = get_input('guid');
if (!$user_id) {
- $user = get_loggedin_user();
+ $user = elgg_get_logged_in_user_entity();
} else {
$user = get_entity($user_id);
}