gradebook MDL-23354 now saves scale description format when you create a new scale

This commit is contained in:
Andrew Davis 2010-07-23 07:35:26 +00:00
parent 0310e15f87
commit 51512508d1

View File

@ -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;