Skip to content
Permalink
Browse files

Merge branch 'MDL-35010_23' of git://github.com/stronk7/moodle into M…

…OODLE_23_STABLE
  • Loading branch information...
Aparup Banerjee
Aparup Banerjee committed Aug 30, 2012
2 parents a51eaaa + 996e735 commit bc67dfdb9a12ad629a92dd6e10f765eeb8baab73
Showing with 1 addition and 1 deletion.
  1. +1 −1 course/editsection_form.php
@@ -38,6 +38,7 @@ public function definition_after_data() {
$course = $this->_customdata['course'];
if (!empty($CFG->enableavailability)) {
$mform->addElement('header', '', get_string('availabilityconditions', 'condition'));
// Grouping conditions - only if grouping is enabled at site level
if (!empty($CFG->enablegroupmembersonly)) {
$options = array();
@@ -49,7 +50,6 @@ public function definition_after_data() {
$grouping->name, true, array('context' => $context));
}
}
$mform->addElement('header', '', get_string('availabilityconditions', 'condition'));
$mform->addElement('select', 'groupingid', get_string('groupingsection', 'group'), $options);
$mform->addHelpButton('groupingid', 'groupingsection', 'group');
}

0 comments on commit bc67dfd

Please sign in to comment.
You can’t perform that action at this time.