Permalink
Browse files

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

…DLE_23_STABLE
  • Loading branch information...
Sam Hemelryk
Sam Hemelryk committed Dec 11, 2012
2 parents 106c484 + 134ede3 commit 3ad9a3fda38662ce994b830e05a5cab239ec7c49
Showing with 1 addition and 1 deletion.
  1. +1 −1 grade/edit/outcome/edit_form.php
@@ -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)) {

0 comments on commit 3ad9a3f

Please sign in to comment.