-
Bug
-
Resolution: Fixed
-
Major
-
3.5.10, 3.6.8, 3.7.4, 3.8.1, 3.9
-
MOODLE_35_STABLE, MOODLE_36_STABLE, MOODLE_37_STABLE, MOODLE_38_STABLE, MOODLE_39_STABLE
-
MOODLE_37_STABLE, MOODLE_38_STABLE
-
MDL-67945-master -
The function edit_instance_form() uses $DB but it isn't declared and throws an error for this -
$c = $DB->get_record('cohort',
array('id' => $instance->customint5),
'id, name, idnumber, contextid, visible',
IGNORE_MISSING);