diff options
Diffstat (limited to 'mod/thewire/index.php')
-rw-r--r-- | mod/thewire/index.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/thewire/index.php b/mod/thewire/index.php index 489427975..a0bc1757d 100644 --- a/mod/thewire/index.php +++ b/mod/thewire/index.php @@ -10,14 +10,14 @@ require_once(dirname(dirname(dirname(__FILE__))) . "/engine/start.php"); // Get the current page's owner - $page_owner = page_owner_entity(); + $page_owner = elgg_get_page_owner(); if ($page_owner === false || is_null($page_owner)) { $page_owner = get_loggedin_user(); set_page_owner($page_owner->getGUID()); } // title - if (page_owner() == $_SESSION['guid']) { + if (elgg_get_page_owner_guid() == $_SESSION['guid']) { $area2 = elgg_view_title(elgg_echo("thewire:read")); } else { $area2 = elgg_view_title(sprintf(elgg_echo("thewire:user"),$page_owner->name)); |