Merge branch 'MDL-67151-38' of git://github.com/rezaies/moodle into MOODLE_38_STABLE

This commit is contained in:
Eloy Lafuente (stronk7)
2019-12-19 23:01:23 +01:00
+1
View File
@@ -225,6 +225,7 @@ class qtype_numerical extends question_type {
if ($options->tolerance === false) {
$result->notice = get_string('invalidnumerictolerance', 'qtype_numerical');
}
$options->tolerance = (string)$options->tolerance;
}
if (isset($options->id)) {
$DB->update_record('question_numerical', $options);