diff --git a/grade/report/grader/lib.php b/grade/report/grader/lib.php index f6f1821426f..ec1e1af28c3 100644 --- a/grade/report/grader/lib.php +++ b/grade/report/grader/lib.php @@ -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())) ); }