MDL-27418 qtype numerical - minor whitespace fix

This commit is contained in:
Eloy Lafuente (stronk7) 2011-06-29 23:57:08 +02:00
parent 88933f08cb
commit 6e344148c1

View file

@ -236,7 +236,7 @@ class qtype_numerical_question extends question_graded_automatically {
}
list($value, $unit, $multiplier) = $this->ap->apply_units(
$response['answer'], $selectedunit);
$answer = $this->get_matching_answer($value, $multiplier);
if (!$answer) {
return array(0, question_state::$gradedwrong);