aboutsummaryrefslogtreecommitdiff
path: root/views/default/page_elements/owner_block.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/page_elements/owner_block.php')
-rw-r--r--views/default/page_elements/owner_block.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/views/default/page_elements/owner_block.php b/views/default/page_elements/owner_block.php
index d12c02641..eb8b6275c 100644
--- a/views/default/page_elements/owner_block.php
+++ b/views/default/page_elements/owner_block.php
@@ -21,7 +21,8 @@
if ($owner) {
$icon = elgg_view("profile/icon",array('entity' => $owner, 'size' => 'tiny'));
if ($owner instanceof ElggUser || $owner instanceof ElggGroup) {
- $info = $owner->name;
+ //$info = $owner->name;
+ $info = '<a href="' . $owner->getURL() . '">' . $owner->name . '</a>';
}
$display = "<div id=\"owner_block_icon\">" . $icon . "</div>";
$display .= "<div id=\"owner_block_content\">" . $info . "</div><div class=\"clearfloat ownerblockline\"></div>";