aboutsummaryrefslogtreecommitdiff
path: root/mod/pages/views/default/widgets
diff options
context:
space:
mode:
Diffstat (limited to 'mod/pages/views/default/widgets')
-rw-r--r--mod/pages/views/default/widgets/pages/content.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/pages/views/default/widgets/pages/content.php b/mod/pages/views/default/widgets/pages/content.php
index 63a2d8e7e..eea482273 100644
--- a/mod/pages/views/default/widgets/pages/content.php
+++ b/mod/pages/views/default/widgets/pages/content.php
@@ -20,7 +20,7 @@ $content = elgg_list_entities($options);
echo $content;
if ($content) {
- $url = "pg/pages/owner/" . elgg_get_page_owner()->username;
+ $url = "pg/pages/owner/" . elgg_get_page_owner_entity()->username;
$more_link = elgg_view('output/url', array(
'href' => $url,
'text' => elgg_echo('pages:more'),