aboutsummaryrefslogtreecommitdiff
path: root/mod/thewire/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/thewire/index.php')
-rw-r--r--mod/thewire/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/thewire/index.php b/mod/thewire/index.php
index 6cd49e472..fc0901d13 100644
--- a/mod/thewire/index.php
+++ b/mod/thewire/index.php
@@ -10,7 +10,7 @@
require_once(dirname(dirname(dirname(__FILE__))) . "/engine/start.php");
// Get the current page's owner
- $page_owner = elgg_get_page_owner();
+ $page_owner = elgg_get_page_owner_entity();
if ($page_owner === false || is_null($page_owner)) {
$page_owner = get_loggedin_user();
set_page_owner($page_owner->getGUID());