Permalink
Browse files

Merge branch 'MDL-27619_22' of git://github.com/pauln/moodle into MOO…

…DLE_22_STABLE
  • Loading branch information...
2 parents 526c2d6 + 8c27cc9 commit 9aca16cc0f05cdaf24edb5a6c89b75de58e11bf9 Sam Hemelryk committed Dec 11, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 grade/edit/outcome/edit_form.php
@@ -114,7 +114,7 @@ function definition_after_data() {
if (empty($courseid)) {
$mform->hardFreeze('standard');
- } else if (empty($outcome->courseid) and !has_capability('moodle/grade:manage', get_context_instance(CONTEXT_SYSTEM))) {
+ } else if (!has_capability('moodle/grade:manage', get_context_instance(CONTEXT_SYSTEM))) {
$mform->hardFreeze('standard');
} else if ($coursecount and empty($outcome->courseid)) {

0 comments on commit 9aca16c

Please sign in to comment.