aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/views.php
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib/views.php')
-rw-r--r--engine/lib/views.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/views.php b/engine/lib/views.php
index 755fa9da2..d8564c5e3 100644
--- a/engine/lib/views.php
+++ b/engine/lib/views.php
@@ -283,7 +283,7 @@ function elgg_view($view, $vars = array(), $bypass = false, $debug = false, $vie
// Load page owner variables into $vars
if (is_callable('page_owner')) {
- $vars['page_owner'] = page_owner();
+ $vars['page_owner'] = elgg_get_page_owner_guid();
} else {
$vars['page_owner'] = -1;
}