diff options
Diffstat (limited to 'views/default/layout/elements/owner_block.php')
-rw-r--r-- | views/default/layout/elements/owner_block.php | 2 |
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 862b0b5a6..6ec4ebabe 100644 --- a/views/default/layout/elements/owner_block.php +++ b/views/default/layout/elements/owner_block.php @@ -11,7 +11,7 @@ elgg_push_context('owner_block'); // groups and other users get owner block -$owner = elgg_get_page_owner(); +$owner = elgg_get_page_owner_entity(); if ($owner instanceof ElggGroup || ($owner instanceof ElggUser && $owner->getGUID() != get_loggedin_userid())) { |