mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
MDL-49949 grader: Using method to determine item name
This commit is contained in:
parent
b5dbb126f9
commit
1be1c66a9b
@ -844,7 +844,7 @@ class grade_report_grader extends grade_report {
|
||||
'itemid' => $element['object']->id));
|
||||
$singleview = $OUTPUT->action_icon(
|
||||
$url,
|
||||
new pix_icon('t/editstring', get_string('singleview', 'grades', $element['object']->itemname))
|
||||
new pix_icon('t/editstring', get_string('singleview', 'grades', $element['object']->get_name()))
|
||||
);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user