Skip to content
Browse files

MDL-26120_24 mod_forum: use correct object

  • Loading branch information...
1 parent 43ded67 commit c2fd66ab6ec4f231be807803e139f87b5974baf5 @jayeshanandani jayeshanandani committed May 8, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/forum/lib.php
View
2 mod/forum/lib.php
@@ -3715,7 +3715,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 c2fd66a

Please sign in to comment.
Something went wrong with that request. Please try again.