MDL-26120 mod_forum: use correct object
This commit is contained in:
committed by
Eloy Lafuente (stronk7)
parent
e3c1bd2593
commit
2ab5928066
+1
-1
@@ -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.'&course='.$forum->course.'">'.$fullname.'</a>';
|
||||
echo "</td>\n";
|
||||
|
||||
Reference in New Issue
Block a user