MDL-16085 fixed typo -thanks John Ryan; merged from HEAD

This commit is contained in:
skodak
2008-08-17 20:18:52 +00:00
parent 0ff122d12d
commit 9aff1a51d0
+1 -1
View File
@@ -55,7 +55,7 @@ if (has_capability('moodle/grade:viewall', $context)) {
} 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 {