Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

MDL-34155 use course visibility default when creator does not have mo…

…odle/course:visibility
  • Loading branch information...
commit b1eae8a90d7aad8a1fef1259b00d6932447f506b 1 parent 7232e79
@skodak skodak authored samhemelryk committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  course/edit_form.php
View
2  course/edit_form.php
@@ -223,7 +223,7 @@ function definition() {
if (!empty($course->id)) {
$mform->setConstant('visible', $course->visible);
} else {
- $mform->setConstant('visible', $category->visible);
+ $mform->setConstant('visible', $courseconfig->visible);
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.