aboutsummaryrefslogtreecommitdiff
path: root/views/default/layout/elements
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/layout/elements')
-rw-r--r--views/default/layout/elements/owner_block.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/default/layout/elements/owner_block.php b/views/default/layout/elements/owner_block.php
index 6ec4ebabe..dce4c1632 100644
--- a/views/default/layout/elements/owner_block.php
+++ b/views/default/layout/elements/owner_block.php
@@ -13,7 +13,7 @@ elgg_push_context('owner_block');
// groups and other users get owner block
$owner = elgg_get_page_owner_entity();
if ($owner instanceof ElggGroup ||
- ($owner instanceof ElggUser && $owner->getGUID() != get_loggedin_userid())) {
+ ($owner instanceof ElggUser && $owner->getGUID() != elgg_get_logged_in_user_guid())) {
$header = elgg_view_entity($owner, false);