# This patch file was generated by NetBeans IDE # This patch can be applied using context Tools: Apply Diff Patch action on respective folder. # It uses platform neutral UTF-8 encoding. # Above lines and this line are ignored by the patching process. Index: moodle/grade/report/grader/lib.php --- moodle/grade/report/grader/lib.php Base (1.98.2.66) +++ moodle/grade/report/grader/lib.php Locally Modified (Based On 1.98.2.66) @@ -1013,17 +1013,17 @@ } $userreportcell = ''; - if (has_capability('gradereport/user:view', $this->context)) { + if (has_capability('gradereport/'.$CFG->grade_profilereport.':view', $this->context)) { $a->user = fullname($user); $strgradesforuser = get_string('gradesforuser', 'grades', $a); - $userreportcell = '