aboutsummaryrefslogtreecommitdiff
path: root/mod/groups/views
diff options
context:
space:
mode:
authordave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-04-22 13:46:03 +0000
committerdave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-04-22 13:46:03 +0000
commitf972a10ba975bccb41e34023e45134d5df544e4d (patch)
tree196d85eb69d401b6bccdbd6c91e3487ef1077732 /mod/groups/views
parent3e48aa4d864de8cf0336cc38cfd35916d3bdf054 (diff)
downloadelgg-f972a10ba975bccb41e34023e45134d5df544e4d.tar.gz
elgg-f972a10ba975bccb41e34023e45134d5df544e4d.tar.bz2
a small tweak so latest discussion shows the last user to comment.
git-svn-id: http://code.elgg.org/elgg/trunk@5845 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/groups/views')
-rw-r--r--mod/groups/views/default/object/groupforumtopic.php2
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>";