aboutsummaryrefslogtreecommitdiff
path: root/views/default/page_elements
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/page_elements')
-rw-r--r--views/default/page_elements/owner_block.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/default/page_elements/owner_block.php b/views/default/page_elements/owner_block.php
index 9aef07eef..311d27767 100644
--- a/views/default/page_elements/owner_block.php
+++ b/views/default/page_elements/owner_block.php
@@ -31,7 +31,7 @@ if(is_plugin_enabled('profile')) {
// Is there a page owner?
$owner = page_owner_entity();
if ($owner instanceof ElggGroup ||
- ($owner instanceof ElggUser && $owner->getGUID != get_loggedin_userid())
+ ($owner instanceof ElggUser && $owner->getGUID() != get_loggedin_userid())
) {
$icon = elgg_view('profile/icon', array('entity' => $owner, 'size' => 'tiny'));
$owner_url = $owner->getURL();