aboutsummaryrefslogtreecommitdiff
path: root/mod/blog/views/default/object/blog.php
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-04-16 15:09:56 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-04-16 15:09:56 +0000
commit6af05fd46c738c48ddb8d895087fca64075b280a (patch)
tree4b7ac5a02901cd525703f041e179328d5cf45f59 /mod/blog/views/default/object/blog.php
parent62afaa85ece1ce8859593cc2cdc957a26b309436 (diff)
downloadelgg-6af05fd46c738c48ddb8d895087fca64075b280a.tar.gz
elgg-6af05fd46c738c48ddb8d895087fca64075b280a.tar.bz2
No need for elgg_view_entity to separately load the owner entity
git-svn-id: https://code.elgg.org/elgg/trunk@478 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/blog/views/default/object/blog.php')
-rw-r--r--mod/blog/views/default/object/blog.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/blog/views/default/object/blog.php b/mod/blog/views/default/object/blog.php
index 0317f952f..58adcfe80 100644
--- a/mod/blog/views/default/object/blog.php
+++ b/mod/blog/views/default/object/blog.php
@@ -28,7 +28,7 @@
?>
</span>
- <a href="<?php echo $vars['url']; ?>blog/<?php echo $vars['entity_owner']->username; ?>"><?php echo $vars['entity_owner']->name; ?></a>
+ <a href="<?php echo $vars['url']; ?>blog/<?php echo $vars['entity']->getOwnerEntity()->username; ?>"><?php echo $vars['entity']->getOwnerEntity()->name; ?></a>
</p>
<p>
<?php