mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
gradebook MDL-23354 now saves scale description format when you create a new scale
This commit is contained in:
parent
0310e15f87
commit
51512508d1
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user