mirror of
https://github.com/moodle/moodle.git
synced 2025-01-31 12:45:04 +01:00
MDL-20296 correcting unit penalty display
This commit is contained in:
parent
960ac99bf6
commit
3f42a35a5c
@ -345,7 +345,7 @@ class question_shortanswer_qtype extends default_questiontype {
|
||||
echo ' ';
|
||||
print_string('unitappliedpenalty','qtype_numerical',question_format_grade($cmoptions, $this->raw_unitpenalty));
|
||||
}
|
||||
echo ' '.$this->raw_unitpenalty ;
|
||||
echo ' ' ;
|
||||
print_string('gradingdetailspenalty', 'quiz', question_format_grade($cmoptions, $state->last_graded->penalty));
|
||||
} else {
|
||||
/* No penalty was applied even though the answer was
|
||||
|
Loading…
x
Reference in New Issue
Block a user