Skip to content

Commit

Permalink
MDL-16085 fixed typo -thanks John Ryan
Browse files Browse the repository at this point in the history
  • Loading branch information
skodak committed Aug 17, 2008
1 parent 2a2a731 commit 20ec8cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion grade/report/user/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
} else if ($userid == $USER->id and has_capability('moodle/grade:view', $context) and $course->showgrades) {
//ok - can view own grades

} else if ($has_capability('moodle/grade:viewall', get_context_instance(CONTEXT_USER, $userid)) and $course->showgrades) {
} else if (has_capability('moodle/grade:viewall', get_context_instance(CONTEXT_USER, $userid)) and $course->showgrades) {
// ok - can view grades of this user- parent most probably

} else {
Expand Down

0 comments on commit 20ec8cb

Please sign in to comment.