mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 16:32:18 +02:00
Merge branch 'MDL-32358' of https://github.com/ppichet/moodle
This commit is contained in:
commit
aa4ebbe5f7
@ -126,7 +126,7 @@ class qtype_numerical_renderer extends qtype_renderer {
|
||||
|
||||
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'));
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user