mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 08:26:37 +02:00
MDL-20636 Fix behaviour unit tests. (all but opaque)
This commit is contained in:
parent
93cadb1ede
commit
2ac0843f4b
4 changed files with 39 additions and 39 deletions
|
@ -70,7 +70,7 @@ class qbehaviour_deferredcbm_renderer extends qbehaviour_renderer {
|
|||
}
|
||||
|
||||
$feedback = '';
|
||||
if (!$qa->get_last_behaviour_var('certainty')) {
|
||||
if (!$qa->get_last_behaviour_var('certainty') && $qa->get_last_behaviour_var('_assumedcertainty')) {
|
||||
$feedback .= html_writer::tag('p', get_string('assumingcertainty', 'qbehaviour_deferredcbm',
|
||||
question_cbm::get_string($qa->get_last_behaviour_var('_assumedcertainty'))));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue