Skip to content

Commit

Permalink
Merge branch 'MDL-27619_23' of git://github.com/pauln/moodle into MOO…
Browse files Browse the repository at this point in the history
…DLE_23_STABLE
  • Loading branch information
Sam Hemelryk committed Dec 11, 2012
2 parents 106c484 + 134ede3 commit 3ad9a3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion grade/edit/outcome/edit_form.php
Expand Up @@ -121,7 +121,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)) {
Expand Down

0 comments on commit 3ad9a3f

Please sign in to comment.