MDL-11954 grader report links to profiles from the same course

This commit is contained in:
skodak 2007-10-29 20:25:09 +00:00
parent 18f2700959
commit 8f2ddadac4

View file

@ -661,8 +661,8 @@ class grade_report_grader extends grade_report {
}
$studentshtml .= '<tr class="r'.$this->rowcount++.'"><th class="header c'.$columncount++.' user" scope="row">'.$user_pic
. '<a href="' . $CFG->wwwroot . '/user/view.php?id='
. $user->id . '">' . fullname($user) . '</a></th>';
.'<a href="'.$CFG->wwwroot.'/user/view.php?id='.$user->id.'&amp;course='.$this->course->id.'">'
.fullname($user).'</a></th>';
foreach ($this->gtree->items as $itemid=>$unused) {
$item =& $this->gtree->items[$itemid];