diff options
Diffstat (limited to 'views/default/page/elements/topbar.php')
-rw-r--r-- | views/default/page/elements/topbar.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/views/default/page/elements/topbar.php b/views/default/page/elements/topbar.php index 40306fcc3..6981d7d7a 100644 --- a/views/default/page/elements/topbar.php +++ b/views/default/page/elements/topbar.php @@ -4,7 +4,7 @@ * The standard elgg top toolbar */ -$user = get_loggedin_user(); +$user = elgg_get_logged_in_user_entity(); if (!elgg_instanceof($user, 'user')) { // do not show tobpar to logged out users return true; |