diff options
Diffstat (limited to 'mod')
-rw-r--r-- | mod/groups/views/default/object/groupforumtopic.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/groups/views/default/object/groupforumtopic.php b/mod/groups/views/default/object/groupforumtopic.php index 5fb1dad0b..22ecfb35a 100644 --- a/mod/groups/views/default/object/groupforumtopic.php +++ b/mod/groups/views/default/object/groupforumtopic.php @@ -36,7 +36,7 @@ if (($last_time) && ($u)) $info.= sprintf(elgg_echo('groups:lastupdated'), friendly_time($last_time), " <a href=\"" . $u->getURL() . "\">" . $u->name . "</a>"); $info .= '</p>'; //get the group avatar - $icon = elgg_view("profile/icon",array('entity' => $group, 'size' => 'tiny')); + $icon = elgg_view("profile/icon",array('entity' => $u, 'size' => 'tiny')); //get the group and topic title if ($group instanceof ElggGroup) { $info .= "<p class='entity_title'>" . elgg_echo('group') . ": <a href=\"{$group->getURL()}\">".htmlentities($group->name, ENT_QUOTES, 'UTF-8') ."</a></p>"; |