Skip to content

Commit

Permalink
Merge branch 'MDL-67151-38' of git://github.com/rezaies/moodle into M…
Browse files Browse the repository at this point in the history
…OODLE_38_STABLE
  • Loading branch information
stronk7 committed Dec 19, 2019
2 parents 40ba9d9 + cd62c52 commit a3ea0db
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions question/type/numerical/questiontype.php
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,7 @@ public function save_question_options($question) {
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);
Expand Down

0 comments on commit a3ea0db

Please sign in to comment.