diff --git a/grade/report/grader/lib.php b/grade/report/grader/lib.php index 130d416483a..ae6d98d526f 100644 --- a/grade/report/grader/lib.php +++ b/grade/report/grader/lib.php @@ -1263,13 +1263,25 @@ class grade_report_grader extends grade_report { * @return string HTML */ public function get_iconshtml() { - global $USER; + global $USER, $CFG; $iconshtml = ''; if ($USER->gradeediting[$this->courseid]) { $iconshtml = '