Skip to content

Commit

Permalink
MDL-55532 gradebook: fix grade export to include category names
Browse files Browse the repository at this point in the history
  • Loading branch information
nwp90 authored and lameze committed Mar 26, 2018
1 parent a15c745 commit 7d4f34c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion grade/export/lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ public function format_column_name($grade_item, $feedback=false, $gradedisplayna
if ($grade_item->itemtype == 'mod') {
$column->name = get_string('modulename', $grade_item->itemmodule).get_string('labelsep', 'langconfig').$grade_item->get_name();
} else {
$column->name = $grade_item->get_name();
$column->name = $grade_item->get_name(true);
}

// We can't have feedback and display type at the same time.
Expand Down

0 comments on commit 7d4f34c

Please sign in to comment.