Permalink
Browse files

Merge branch 'MDL-32358_22' of https://github.com/ppichet/moodle into…

… MOODLE_22_STABLE
  • Loading branch information...
danpoltawski committed Apr 16, 2012
2 parents 2547042 + 8858129 commit 1399a5bc4175b20df20459892ecc4a2d4df85ebd
Showing with 1 addition and 1 deletion.
  1. +1 −1 question/type/numerical/renderer.php
@@ -126,7 +126,7 @@ public function formulation_and_controls(question_attempt $qa,
if ($qa->get_state() == question_state::$invalid) {
$result .= html_writer::nonempty_tag('div',
- $question->get_validation_error(array('answer' => $currentanswer)),
+ $question->get_validation_error(array('answer' => $currentanswer, 'unit' => $selectedunit)),
array('class' => 'validationerror'));
}

0 comments on commit 1399a5b

Please sign in to comment.