Permalink
Browse files

MDL-26120 mod_forum: use correct object

  • Loading branch information...
1 parent d8201d4 commit ec123a1966f1f360bd9d7d89a7bed75d3813f70a @jayeshanandani jayeshanandani committed Apr 5, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/forum/lib.php
View
2 mod/forum/lib.php
@@ -3737,7 +3737,7 @@ function forum_print_discussion_header(&$post, $forum, $group=-1, $datestring=""
echo "</td>\n";
// User name
- $fullname = fullname($post, has_capability('moodle/site:viewfullnames', $modcontext));
+ $fullname = fullname($postuser, has_capability('moodle/site:viewfullnames', $modcontext));
echo '<td class="author">';
echo '<a href="'.$CFG->wwwroot.'/user/view.php?id='.$post->userid.'&amp;course='.$forum->course.'">'.$fullname.'</a>';
echo "</td>\n";

0 comments on commit ec123a1

Please sign in to comment.