gradebook MDL-23354 now saves scale description format when you create a new scale
This commit is contained in:
@@ -107,6 +107,7 @@ if ($mform->is_cancelled()) {
|
||||
|
||||
if (empty($scale->id)) {
|
||||
$data->description = $data->description_editor['text'];
|
||||
$data->descriptionformat = $data->description_editor['format'];
|
||||
grade_scale::set_properties($scale, $data);
|
||||
if (!has_capability('moodle/grade:manage', $systemcontext)) {
|
||||
$data->standard = 0;
|
||||
|
||||
Reference in New Issue
Block a user