From f972a10ba975bccb41e34023e45134d5df544e4d Mon Sep 17 00:00:00 2001
From: dave
Date: Thu, 22 Apr 2010 13:46:03 +0000
Subject: 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
---
mod/groups/views/default/object/groupforumtopic.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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), " getURL() . "\">" . $u->name . "");
$info .= '
';
//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 .= "" . elgg_echo('group') . ": getURL()}\">".htmlentities($group->name, ENT_QUOTES, 'UTF-8') ."
";
--
cgit v1.2.3