aboutsummaryrefslogtreecommitdiff
path: root/mod
diff options
context:
space:
mode:
Diffstat (limited to 'mod')
-rw-r--r--mod/blog/start.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/blog/start.php b/mod/blog/start.php
index d7157c40b..0df79a5cf 100644
--- a/mod/blog/start.php
+++ b/mod/blog/start.php
@@ -87,7 +87,7 @@
function blog_url($blogpost) {
global $CONFIG;
- return $CONFIG->url . "blog/" . $blogpost->getOwnerUser()->username . "/read/" . $blogpost->getGUID();
+ return $CONFIG->url . "blog/" . $blogpost->getOwnerEntity()->username . "/read/" . $blogpost->getGUID();
}