Merge branch 'MDL-35321-master' of git://github.com/micaherne/moodle
This commit is contained in:
@@ -79,7 +79,7 @@ if ($mform->is_cancelled()){
|
||||
if (!empty($CFG->enableavailability)) {
|
||||
$section->availablefrom = $data->availablefrom;
|
||||
$section->availableuntil = $data->availableuntil;
|
||||
if (!empty($data->groupingid)) {
|
||||
if (isset($data->groupingid)) {
|
||||
$section->groupingid = $data->groupingid;
|
||||
}
|
||||
$section->showavailability = $data->showavailability;
|
||||
|
||||
Reference in New Issue
Block a user