Skip to content

Commit

Permalink
MDL-19542 Outcomes report display the name of the activity instead of…
Browse files Browse the repository at this point in the history
… the name of the outcome

Merged from 1.9
  • Loading branch information
mudrd8mz committed Sep 28, 2009
1 parent 4fd7e89 commit 70b5b48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion grade/report/outcomes/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@

if ($item->itemtype == 'mod') {
$cm = get_coursemodule_from_instance($item->itemmodule, $item->iteminstance, $item->courseid);
$itemname = '<a href="'.$CFG->wwwroot.'/mod/'.$item->itemmodule.'/view.php?id='.$cm->id.'">'.$grade_item->get_name().'</a>';
$itemname = '<a href="'.$CFG->wwwroot.'/mod/'.$item->itemmodule.'/view.php?id='.$cm->id.'">'.format_string($cm->name, true, $cm->course).'</a>';
} else {
$itemname = $grade_item->get_name();
}
Expand Down

0 comments on commit 70b5b48

Please sign in to comment.