mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 09:26:35 +02:00
MDL-27418 qtype numerical - minor whitespace fix
This commit is contained in:
parent
88933f08cb
commit
6e344148c1
1 changed files with 1 additions and 1 deletions
|
@ -236,7 +236,7 @@ class qtype_numerical_question extends question_graded_automatically {
|
||||||
}
|
}
|
||||||
list($value, $unit, $multiplier) = $this->ap->apply_units(
|
list($value, $unit, $multiplier) = $this->ap->apply_units(
|
||||||
$response['answer'], $selectedunit);
|
$response['answer'], $selectedunit);
|
||||||
|
|
||||||
$answer = $this->get_matching_answer($value, $multiplier);
|
$answer = $this->get_matching_answer($value, $multiplier);
|
||||||
if (!$answer) {
|
if (!$answer) {
|
||||||
return array(0, question_state::$gradedwrong);
|
return array(0, question_state::$gradedwrong);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue