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