Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
moodle
moodle
Commits
aa4ebbe5
Commit
aa4ebbe5
authored
Apr 16, 2012
by
Dan Poltawski
Browse files
Merge branch 'MDL-32358' of
https://github.com/ppichet/moodle
parents
db277985
c9340ac1
Changes
1
Hide whitespace changes
Inline
Side-by-side
question/type/numerical/renderer.php
View file @
aa4ebbe5
...
...
@@ -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'
));
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment