]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
a small tweak so latest discussion shows the last user to comment.
authordave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>
Thu, 22 Apr 2010 13:46:03 +0000 (13:46 +0000)
committerdave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>
Thu, 22 Apr 2010 13:46:03 +0000 (13:46 +0000)
git-svn-id: http://code.elgg.org/elgg/trunk@5845 36083f99-b078-4883-b0ff-0f9b5a30f544

mod/groups/views/default/object/groupforumtopic.php

index 5fb1dad0b2584a6aad74930370a74e82ff087d92..22ecfb35a842f4045802d149030d22b57d9eb1ec 100644 (file)
@@ -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>";