Skip to content

Commit

Permalink
[FIX] fixed display issue in detailed results view of cloze questions
Browse files Browse the repository at this point in the history
  • Loading branch information
lzehnder authored and kergomard committed Oct 9, 2024
1 parent 220950c commit e3c09dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Modules/TestQuestionPool/classes/class.assClozeTestGUI.php
Original file line number Diff line number Diff line change
Expand Up @@ -1435,7 +1435,7 @@ public function removeIndizesFromGapText($question_text): string
*/
private function populateSolutiontextToGapTpl($gaptemplate, $gap, $solutiontext): void
{
if ($this->renderPurposeSupportsFormHtml() || $this->isRenderPurposePrintPdf()) {
if ($this->isRenderPurposePrintPdf()) {
$gaptemplate->setCurrentBlock('gap_span');
$gaptemplate->setVariable('SPAN_SOLUTION', $solutiontext);
} elseif ($gap->getType() == CLOZE_SELECT) {
Expand Down

0 comments on commit e3c09dc

Please sign in to comment.